Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
G
H
I
L
N
O
R
S
T
V
G
genMinSpanTree(Vertex<E>)
- Method in class net.scheinerman.graph.
Graph
get(Location)
- Method in class net.scheinerman.graph.
Graph
Returns the Vertex contained at Location
loc
.
getComponent(Vertex<E>)
- Method in class net.scheinerman.graph.
Graph
getConnectedVertices()
- Method in class net.scheinerman.graph.
Vertex
Returns a set of all vertices that are connected to this vertex via edges.
getData()
- Method in class net.scheinerman.graph.
Vertex
getEdges()
- Method in class net.scheinerman.graph.
Vertex
Returns an array of all edges that this vertex connects to.
getEdgeTo(Vertex<E>)
- Method in class net.scheinerman.graph.
Vertex
Returns the edge object with which this vertex connects to a given vertex.
getEnd1()
- Method in class net.scheinerman.graph.
Edge
Returns the first vertex from the edge.
getEnd2()
- Method in class net.scheinerman.graph.
Edge
Returns the second vertex from the edge.
getLocation()
- Method in class net.scheinerman.graph.
Vertex
This vertex's current location
getLocations()
- Method in class net.scheinerman.graph.
Graph
Retrieves the set of all vertex locations for this graph.
getNeighbors()
- Method in class net.scheinerman.graph.
Vertex
Returns all the neighbors of this vertex.
getOtherEnd(Edge<E>)
- Method in class net.scheinerman.graph.
Vertex
Given an edge, returns the vertex that is
not
equal to this vertex.
getValue()
- Method in class net.scheinerman.graph.
Vertex
Returns the value associated with this object.
getVertexAt(Location)
- Method in class net.scheinerman.graph.
Graph
Retrieves the vertex at a given location.
getVertexCollection()
- Method in class net.scheinerman.graph.
Graph
getVertices()
- Method in class net.scheinerman.graph.
Graph
Returns the map of locations to vertices in this graph.
getWeight()
- Method in class net.scheinerman.graph.
Edge
Returns the weight of this edge which is equal to the distance between the two vertices of this edge.
getWeight()
- Method in class net.scheinerman.graph.
Graph
getX()
- Method in class net.scheinerman.graph.
Location
Returns the x coordinate of this location.
getY()
- Method in class net.scheinerman.graph.
Location
Returns the y coordinate of this location.
Graph
<
E
> - Class in
net.scheinerman.graph
A
Graph
is a group of vertices, with edges between vertices.
Graph()
- Constructor for class net.scheinerman.graph.
Graph
Creates a new empty graph.
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
C
E
G
H
I
L
N
O
R
S
T
V