Uses of Class
com.googlecode.whatswrong.Edge

Packages that use Edge
com.googlecode.whatswrong The whatswrong package is the top-level package of What's Wrong With My NLP. 
 

Uses of Edge in com.googlecode.whatswrong
 

Fields in com.googlecode.whatswrong with type parameters of type Edge
protected  java.util.HashMap<Edge,java.awt.Point> AbstractEdgeLayout.from
          A mapping from edges to their start points in the layout.
protected  java.util.HashMap<java.awt.Shape,Edge> AbstractEdgeLayout.shapes
          A mapping from edge shapes to the corresponding edge objects.
protected  java.util.HashMap<Edge,java.awt.Point> AbstractEdgeLayout.to
          A mapping from edges to their end points in the layout.
protected  java.util.HashSet<Edge> AbstractEdgeLayout.visible
          The set of visisible edges.
 

Methods in com.googlecode.whatswrong that return Edge
 Edge AbstractEdgeLayout.getEdgeAt(java.awt.geom.Point2D p, int radius)
          Get the Edge at a given location.
 

Methods in com.googlecode.whatswrong that return types with arguments of type Edge
 java.util.Collection<Edge> EdgeTypeFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that don't have an allowed prefix and postfix type.
 java.util.Collection<Edge> EdgeTokenFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that do not have at least one token with an allowed property value.
 java.util.Collection<Edge> EdgeLabelFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that don't have a label that contains one of the allowed label substrings.
abstract  java.util.Collection<Edge> EdgeFilter.filterEdges(java.util.Collection<Edge> original)
          Take a set of edges and return a subset of them.
 java.util.List<Edge> NLPInstance.getEdges()
          Returns all edges of this instance.
 java.util.List<Edge> NLPInstance.getEdges(Edge.RenderType renderType)
          Returns all edges of this instance with the given render type.
 java.util.Set<Edge> AbstractEdgeLayout.getSelected()
          Returns the set of selected edges.
 

Methods in com.googlecode.whatswrong with parameters of type Edge
 void NLPInstance.addEdge(Edge edge)
          Adds an edge.
 void AbstractEdgeLayout.addToSelection(Edge edge)
          Add an edge to the selection.
protected  int AbstractEdgeLayout.calculateDepth(HashMultiMapLinkedList<Edge,Edge> dominates, Counter<Edge> depth, Edge root)
          Calculate the number of edges under each edge and returns the max.
 boolean Edge.covers(Edge edge)
          Check whether this edge completely covers the specified edge.
 boolean Edge.coversExactly(Edge edge)
          Check whether this edge spans the same sequence of tokens as the given edge.
 boolean Edge.coversSemi(Edge edge)
          Checks whether this edge covers the given edge and is aligned with it on one side.
 boolean Edge.crosses(Edge edge)
          Checks whether the given edge crosses this edge.
 java.awt.Point AbstractEdgeLayout.getFrom(Edge edge)
          Return the point at the start of the given edge.
 java.awt.BasicStroke AbstractEdgeLayout.getStroke(Edge edge)
          Get the stroke for a given edge.
 java.awt.Point AbstractEdgeLayout.getTo(Edge edge)
          Return the point at the end of the given edge.
 int Edge.lexicographicOrder(Edge edge)
          Compares the type and label of this edge and the passed edge.
 boolean Edge.overlaps(Edge edge)
          Checks whether this edge overlaps the given edge.
 void AbstractEdgeLayout.removeFromSelection(Edge edge)
          Remove an edge from the selection.
 void AbstractEdgeLayout.select(Edge edge)
          Select only one edge and remove all other edges from the selection.
 boolean Edge.strictlyCovers(Edge edge)
          Checks whether the given edge is covered by this edge and at least one token is not aligned.
 void AbstractEdgeLayout.toggleSelection(Edge edge)
          Change whether the given edge is selected or not.
 

Method parameters in com.googlecode.whatswrong with type arguments of type Edge
 void NLPInstance.addEdges(java.util.Collection<Edge> edges)
          Adds the given edges to this instance.
protected  int AbstractEdgeLayout.calculateDepth(HashMultiMapLinkedList<Edge,Edge> dominates, Counter<Edge> depth, Edge root)
          Calculate the number of edges under each edge and returns the max.
protected  int AbstractEdgeLayout.calculateDepth(HashMultiMapLinkedList<Edge,Edge> dominates, Counter<Edge> depth, Edge root)
          Calculate the number of edges under each edge and returns the max.
protected  int AbstractEdgeLayout.calculateDepth(HashMultiMapLinkedList<Edge,Edge> dominates, Counter<Edge> depth, Edge root)
          Calculate the number of edges under each edge and returns the max.
 java.util.Map<Token,java.lang.Integer> SpanLayout.estimateRequiredTokenWidths(java.util.Collection<Edge> edges, java.awt.Graphics2D g2d)
          For each token that has a self-loop we need the token to be wide enough.
 java.util.Collection<Edge> EdgeTypeFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that don't have an allowed prefix and postfix type.
 java.util.Collection<Edge> EdgeTokenFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that do not have at least one token with an allowed property value.
 java.util.Collection<Edge> EdgeLabelFilter.filterEdges(java.util.Collection<Edge> original)
          Filters out all edges that don't have a label that contains one of the allowed label substrings.
abstract  java.util.Collection<Edge> EdgeFilter.filterEdges(java.util.Collection<Edge> original)
          Take a set of edges and return a subset of them.
 void EdgeLayout.layout(java.util.Collection<Edge> edges, TokenLayout tokenLayout, java.awt.Graphics2D g2d)
          Draws the edges onto the graphics object.
 java.awt.Dimension SpanLayout.layoutEdges(java.util.Collection<Edge> edges, java.util.Map<Token,Bounds1D> bounds, java.awt.Graphics2D g2d)
          Lays out the edges as spans (blocks) under or above the tokens they contain.
 java.awt.Dimension DependencyLayout.layoutEdges(java.util.Collection<Edge> edges, java.util.Map<Token,Bounds1D> bounds, java.awt.Graphics2D g2d)
          Lays out the edges as directed labelled dependency links between tokens.
 void AbstractEdgeLayout.onlyShow(java.util.Collection<Edge> edges)
          Show only the given edges.
 

Constructor parameters in com.googlecode.whatswrong with type arguments of type Edge
NLPInstance(java.util.Collection<Token> tokens, java.util.Collection<Edge> edges, NLPInstance.RenderType renderType, java.util.List<java.lang.Integer> splitPoints)
          Creates a new NLPInstance with the given tokens and edges.
 



Copyright © 2009. All Rights Reserved.