Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
G
I
L
N
O
P
S
A
addEdge(Node, Node)
- Method in class graph.
Graph
Adds an Edge to the graph.
addEdge(String, Node, Node)
- Method in class graph.
Graph
Adds an Edge to the graph.
addEdge(Node)
- Method in class graph.
Node
Adds an edge starting from the node and ending to node given as argument
addInEdge(Edge)
- Method in class graph.
Node
addNode(Node)
- Method in class graph.
Graph
Adds a Node to the graph
addOutEdge(Edge)
- Method in class graph.
Node
C
compareTo(Object)
- Method in class graph.
Edge
compareTo(Object)
- Method in class graph.
Node
D
dest()
- Method in class graph.
Edge
Returns the destination node of the edge.
E
Edge
- class graph.
Edge
.
Edge(String, Node, Node)
- Constructor for class graph.
Edge
Initializes the Edge with given label and source and destination nodes.
Edge(Node, Node)
- Constructor for class graph.
Edge
Initializes the Edge with given source and destination nodes.
G
Graph
- class graph.
Graph
.
Graph(InputStream, String, String)
- Constructor for class graph.
Graph
Initializes a new Graph by parsing the graph-file from the argument stream.
Graph(InputStream)
- Constructor for class graph.
Graph
Initializes a new Graph by parsing the graph-file from the argument stream
get(String)
- Method in class graph.
Edge
Returns the value for the given property of the edge
get(String)
- Method in class graph.
Node
Returns the value for the given property of the node
getAdj()
- Method in class graph.
Node
Returns an ArrayList of the Nodes adjanced to the node.
getDouble(String)
- Method in class graph.
Edge
Returns the value for the given property of the edge
getDouble(String)
- Method in class graph.
Node
Returns the value for the given property of the node
getEdge(String)
- Method in class graph.
Graph
Returns the Edge in the Graph with label given as argument
getEdges()
- Method in class graph.
Graph
Returns an ArrayList containing all the edges in the graph
getEdges(String, String)
- Method in class graph.
Graph
Returns an ArrayList containing all the edges in the graph that have a given property with a given value
getEdges()
- Method in class graph.
Node
getInEdges()
- Method in class graph.
Node
Returns an ArrayList of edges that end to this node.
getInt(String)
- Method in class graph.
Edge
Returns the value for the given property of the edge
getInt(String)
- Method in class graph.
Node
Returns the value for the given property of the node
getNext()
- Method in class graph.
Node
Returns an ArrayList of all the nodes to which there exists an edge starting at the node Use this method with directed graphs
getNode(String)
- Method in class graph.
Graph
Returns the Node in the Graph with label given as argument
getNodes()
- Method in class graph.
Graph
Returns an ArrayList containing all the nodes in the graph
getNodes(String, String)
- Method in class graph.
Graph
Returns an ArrayList containing all the nodes in the graph that have a given property with a given value
getOutEdges()
- Method in class graph.
Node
Returns an ArrayList of edges that start from this node.
getPrev()
- Method in class graph.
Node
Returns an ArrayList of all the nodes from which there exists an edge ending at the node Use this method with directed graphs
graph
- package graph
graph
- Variable in class graph.
Node
I
in
- Variable in class graph.
Node
L
label()
- Method in class graph.
Edge
Returns the label of the edge
label()
- Method in class graph.
Node
Returns label of the node
N
Node
- class graph.
Node
.
Node(Graph, String)
- Constructor for class graph.
Node
Initializes a new Node belonging to graph given as argument with given label
O
out
- Variable in class graph.
Node
P
properties
- Variable in class graph.
Node
S
set(String, String)
- Method in class graph.
Edge
Sets the given property of the edge to given value
set(String, String)
- Method in class graph.
Node
Sets the given property of the node to given value
setDouble(String, double)
- Method in class graph.
Edge
Sets the given property of the edge to given value
setDouble(String, double)
- Method in class graph.
Node
Sets the given property of the node to given value
setInt(String, int)
- Method in class graph.
Edge
Sets the given property of the edge to given value
setInt(String, int)
- Method in class graph.
Node
Sets the given property of the node to given value
source()
- Method in class graph.
Edge
Returns the source node of the edge.
A
C
D
E
G
I
L
N
O
P
S
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes