| Package | Description |
|---|---|
| berack96.lib.graph | |
| berack96.lib.graph.impl | |
| berack96.lib.graph.view.edge | |
| berack96.lib.graph.view.vertex |
| Modifier and Type | Method and Description |
|---|---|
Vertex<V> |
Graph.getVertex(V vertex)
Get an instance of the vertex linked with this graph.
For more info see Vertex |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<Vertex<V>> |
Vertex.getAncestorsAsVertex()
Get all the ancestors of this vertex like
getAncestors(), but as Vertex.In this way they are linked to the graph as this one. This method allocate a new object for each vertex, so it is more heavy. |
java.util.Collection<Vertex<V>> |
Vertex.getChildrenAsVertex()
Get all the children of this vertex like
getChildren(), but as Vertex.In this way they are linked to the graph as this one. * This method allocate a new object for each vertex, so it is more heavy. |
| Modifier and Type | Method and Description |
|---|---|
Vertex<V> |
MatrixGraph.getVertex(V vertex) |
Vertex<V> |
MapGraph.getVertex(V vertex) |
Vertex<V> |
AdjGraph.getVertex(V vertex) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract W |
EdgeListener.buildNewEdge(Vertex<V> vertex,
Vertex<V> vertex1) |
protected abstract W |
EdgeListener.buildNewEdge(Vertex<V> vertex,
Vertex<V> vertex1) |
protected java.lang.Integer |
EdgeIntListener.buildNewEdge(Vertex<V> vertex,
Vertex<V> vertex1) |
protected java.lang.Integer |
EdgeIntListener.buildNewEdge(Vertex<V> vertex,
Vertex<V> vertex1) |
| Modifier and Type | Field and Description |
|---|---|
Vertex<V> |
VertexComponent.vertex |
| Constructor and Description |
|---|
VertexComponent(Vertex<V> vertex) |