|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvitro.Model
vitro.graph.Graph
public class Graph
Field Summary | |
---|---|
Set<Edge> |
edges
|
protected Graph |
model
|
List<Node> |
nodes
|
Fields inherited from class vitro.Model |
---|
actors |
Constructor Summary | |
---|---|
Graph()
|
Method Summary | |
---|---|
Edge |
createEdge(Node a,
Node b)
|
Node |
createNode()
|
Node |
getLocation(Actor a)
|
Node |
getNode(Position position)
|
protected List<Edge> |
path(Node start,
Node destination)
|
protected Set<Node> |
reachable(Node start)
|
protected Set<Node> |
reachable(Node root,
int depth)
|
Methods inherited from class vitro.Model |
---|
cleanup, done |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final Set<Edge> edges
public final List<Node> nodes
protected final Graph model
Constructor Detail |
---|
public Graph()
Method Detail |
---|
public Node createNode()
public Edge createEdge(Node a, Node b)
public Node getLocation(Actor a)
public Node getNode(Position position)
protected List<Edge> path(Node start, Node destination)
protected Set<Node> reachable(Node start)
protected Set<Node> reachable(Node root, int depth)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |