|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| 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 HashMap<Edge,Point> |
AbstractEdgeLayout.from
A mapping from edges to their start points in the layout. |
protected HashMap<Shape,Edge> |
AbstractEdgeLayout.shapes
A mapping from edge shapes to the corresponding edge objects. |
protected HashMap<Edge,Point> |
AbstractEdgeLayout.to
A mapping from edges to their end points in the layout. |
protected HashSet<Edge> |
AbstractEdgeLayout.visible
The set of visisible edges. |
| Methods in com.googlecode.whatswrong that return Edge | |
|---|---|
Edge |
SingleSentenceRenderer.getEdgeAt(Point2D p,
int radius)
|
Edge |
NLPCanvasRenderer.getEdgeAt(Point2D p,
int radius)
Get the Edge at a given location. |
Edge |
AlignmentRenderer.getEdgeAt(Point2D p,
int radius)
|
Edge |
AbstractEdgeLayout.getEdgeAt(Point2D p,
int radius)
Get the Edge at a given location. |
| Methods in com.googlecode.whatswrong that return types with arguments of type Edge | |
|---|---|
Collection<Edge> |
EdgeTypeFilter.filterEdges(Collection<Edge> original)
Filters out all edges that don't have an allowed prefix and postfix type. |
Collection<Edge> |
EdgeTokenFilter.filterEdges(Collection<Edge> original)
Filters out all edges that do not have at least one token with an allowed property value. |
Collection<Edge> |
EdgeLabelFilter.filterEdges(Collection<Edge> original)
Filters out all edges that don't have a label that contains one of the allowed label substrings. |
abstract Collection<Edge> |
EdgeFilter.filterEdges(Collection<Edge> original)
Take a set of edges and return a subset of them. |
List<Edge> |
NLPInstance.getEdges()
Returns all edges of this instance. |
List<Edge> |
NLPInstance.getEdges(Edge.RenderType renderType)
Returns all edges of this instance with the given render type. |
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. |
Point |
AbstractEdgeLayout.getFrom(Edge edge)
Return the point at the start of the given edge. |
BasicStroke |
AbstractEdgeLayout.getStroke(Edge edge)
Get the stroke for a given edge. |
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(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. |
Map<Token,Integer> |
SpanLayout.estimateRequiredTokenWidths(Collection<Edge> edges,
Graphics2D g2d)
For each token that has a self-loop we need the token to be wide enough. |
Collection<Edge> |
EdgeTypeFilter.filterEdges(Collection<Edge> original)
Filters out all edges that don't have an allowed prefix and postfix type. |
Collection<Edge> |
EdgeTokenFilter.filterEdges(Collection<Edge> original)
Filters out all edges that do not have at least one token with an allowed property value. |
Collection<Edge> |
EdgeLabelFilter.filterEdges(Collection<Edge> original)
Filters out all edges that don't have a label that contains one of the allowed label substrings. |
abstract Collection<Edge> |
EdgeFilter.filterEdges(Collection<Edge> original)
Take a set of edges and return a subset of them. |
void |
EdgeLayout.layout(Collection<Edge> edges,
TokenLayout tokenLayout,
Graphics2D g2d)
Draws the edges onto the graphics object. |
Dimension |
SpanLayout.layoutEdges(Collection<Edge> edges,
Map<Token,Bounds1D> bounds,
Graphics2D g2d)
Lays out the edges as spans (blocks) under or above the tokens they contain. |
Dimension |
DependencyLayout.layoutEdges(Collection<Edge> edges,
Map<Token,Bounds1D> bounds,
Graphics2D g2d)
Lays out the edges as directed labelled dependency links between tokens. |
void |
AbstractEdgeLayout.onlyShow(Collection<Edge> edges)
Show only the given edges. |
| Constructor parameters in com.googlecode.whatswrong with type arguments of type Edge | |
|---|---|
NLPInstance(Collection<Token> tokens,
Collection<Edge> edges,
NLPInstance.RenderType renderType,
List<Integer> splitPoints)
Creates a new NLPInstance with the given tokens and edges. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||