|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Vertex in net.sf.myra.framework |
---|
Methods in net.sf.myra.framework that return Vertex | |
---|---|
Vertex<V> |
Vertex.clone()
|
Vertex<V> |
Graph.get(java.lang.String label)
Returns the specified vertex given its label. |
Vertex<V> |
Edge.getFrom()
Returns the edge's start node. |
abstract Vertex<?> |
Trail.getLast()
Returns the last added (visited) vertex. |
Vertex<?> |
DefaultTrail.getLast()
|
Vertex<V> |
Edge.getTo()
Returns the edge's end node. |
Vertex<?> |
DecisionPolicy.select(Graph<?> graph,
Trail trail)
Selects the next vertex to visit based on the partial trail. |
Vertex<V>[] |
Graph.vertices()
Returns the array of vertices. |
Methods in net.sf.myra.framework that return types with arguments of type Vertex | |
---|---|
java.util.Collection<Vertex<V>> |
Graph.getNeighbours(Vertex<V> vertex)
Returns the list of neighbors of the specified node. |
abstract java.util.Collection<Vertex<?>> |
Trail.getVertices()
Returns the vertices of this trail. |
java.util.Collection<Vertex<V>> |
Graph.getVertices()
Returns the set of vertices of this graph. |
java.util.Collection<Vertex<?>> |
DefaultTrail.getVertices()
|
Methods in net.sf.myra.framework with parameters of type Vertex | |
---|---|
abstract void |
Trail.add(Vertex<?> vertex)
Adds a node to the trail. |
void |
DefaultTrail.add(Vertex<?> vertex)
|
void |
Graph.add(Vertex<V> vertex)
Adds a new node to the graph. |
void |
Constraint.check(Trail trail,
Vertex<?> vertex)
Checks if the specified node can be added to the trail. |
int |
Vertex.compareTo(Vertex<?> o)
|
void |
Graph.connect(Vertex<V> from,
Vertex<V> to)
Creates an edge (link) between the specified nodes. |
void |
Graph.connect(Vertex<V> from,
Vertex<V> to)
Creates an edge (link) between the specified nodes. |
boolean |
Vertex.equals(Vertex<?> v)
Compares the specified vertex with this vertex for equality. |
Edge<V> |
Graph.getEdge(Vertex<V> from,
Vertex<V> to)
Returns the edge between the specified vertices. |
Edge<V> |
Graph.getEdge(Vertex<V> from,
Vertex<V> to)
Returns the edge between the specified vertices. |
java.util.Collection<Edge<V>> |
Graph.getEdges(Vertex<V> vertex)
Returns the list of edges of the specified vertex. |
java.util.Collection<Vertex<V>> |
Graph.getNeighbours(Vertex<V> vertex)
Returns the list of neighbors of the specified node. |
abstract void |
Trail.remove(Vertex<?> vertex)
Removes the specified vertex. |
void |
DefaultTrail.remove(Vertex<?> vertex)
|
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |