A C D E F G H I K L M N O P R S T U V

A

add(int, E) - Method in class support.graph.NodeSequence
adds element at the given index to the sequence
addAfter(Position<E>, E) - Method in class support.graph.NodeSequence
 
addBefore(Position<E>, E) - Method in class support.graph.NodeSequence
 
addCloud(CS16Decorator<CS16Vertex, Integer>, CS16Decorator<CS16Vertex, CS16Vertex>) - Method in class support.graph.GraphCanvas
Adds another cloud to the cloud animations.
addCloudAnimation(CS16Decorator<CS16Vertex, Integer>, CS16Decorator<CS16Vertex, CS16Vertex>) - Method in interface support.graph.CS16GraphVisualizer
Adds a cloud animation
addCloudAnimation(CS16Decorator<CS16Vertex, Integer>, CS16Decorator<CS16Vertex, CS16Vertex>) - Method in class support.graph.GraphViz
Adds a cloud animation
addEdge(CS16Vertex, CS16Vertex, int) - Method in class support.graph.GraphCanvas
 
addEdgeAnimation(CS16Decorator<CS16Edge, Boolean>) - Method in interface support.graph.CS16GraphVisualizer
Adds an edge animation.
addEdgeAnimation(CS16Decorator<CS16Edge, Boolean>) - Method in class support.graph.GraphViz
Adds an mst edge animation.
addFirst(E) - Method in class support.graph.NodeSequence
Add an element to the beginning of the sequence
addLast(E) - Method in class support.graph.NodeSequence
Add an element to the end of the sequence
addMST(CS16Decorator<CS16Edge, Boolean>) - Method in class support.graph.GraphCanvas
Adds another set of MST edges to the collection for animation.
addMST(CS16Edge[]) - Method in class support.graph.GraphCanvas
Adds another set of MST edges to the collection for animation.
addPoint(MouseEvent) - Method in class support.graph.GraphCanvas
Adds a vertex to the visualizer, and to the graph structure
addVertex(String, int, int) - Method in class support.graph.GraphCanvas
method to add a vertex to the visualizer and to the graph structure called when vertices input by either mouse clicks or file loading
AdjacencyMatrixGraph - Interface in support.graph
 
areAdjacent(CS16Vertex, CS16Vertex) - Method in class graph.MyGraph
Returns true if there exists an Edge that connects Vertex v1 and Vertex v2.
areAdjacent(CS16Vertex, CS16Vertex) - Method in interface support.graph.AdjacencyMatrixGraph
Returns true if there exists an Edge that connects Vertex v1 and Vertex v2.
areAdjacent() - Method in class support.graph.GraphCanvas
 
atIndex(int) - Method in class support.graph.NodeSequence
 

C

cleanup() - Method in class support.graph.GraphCanvas
 
clear() - Method in class graph.MyGraph
Clears all the vertices and edges from the graph.
clear() - Method in interface support.graph.AdjacencyMatrixGraph
Clears all the vertics and edges from the graph.
clear() - Method in class support.graph.GraphCanvas
 
clearMinSpanForest() - Method in class support.graph.GraphCanvas
Clears the minimum spanning tree.
clickedOnEdge(int, int, VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
connectingEdge(CS16Vertex, CS16Vertex) - Method in class graph.MyGraph
Returns the edge that connects the two vertices.
connectingEdge(CS16Vertex, CS16Vertex) - Method in interface support.graph.AdjacencyMatrixGraph
Returns the edge that connects the two vertices.
connectingEdge() - Method in class support.graph.GraphCanvas
 
createEdgeWeightRow() - Method in class support.graph.GraphViz
The follow methods create all the buttons and labels that appear on the visualizer
createGraphCommandRow1() - Method in class support.graph.GraphViz
 
createGraphCommandRow2() - Method in class support.graph.GraphViz
 
createMSTButtonRow() - Method in class support.graph.GraphViz
 
createSaveLoadQuitRow() - Method in class support.graph.GraphViz
 
createSliderRow() - Method in class support.graph.GraphViz
 
createWriter() - Method in class support.graph.GraphViz
 
CS16Decorator<K,V> - Interface in support.graph
Interface defining a class that can use decorations
CS16Edge - Interface in support.graph
 
CS16GraphVisualizer - Interface in support.graph
 
CS16Position<E> - Class in support.graph
 
CS16Position() - Constructor for class support.graph.CS16Position
 
CS16Vertex - Interface in support.graph
 
current() - Method in class support.graph.EdgeIterator
 
current() - Method in class support.graph.GraphIterator
 

D

displayEdge(Graphics, VizVertex, VizVertex, CS16Edge) - Method in class support.graph.GraphCanvas
 
displayEdgeStandalone(Graphics, VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
displayFocusEdgeLabel(Graphics, VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
displayLabel(Graphics, int, VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
displayMarkedVertex(Graphics, String, VizVertex) - Method in class support.graph.GraphCanvas
end draw() method
displayMessageAtPoint(Graphics, String, VizVertex) - Method in class support.graph.GraphCanvas
 
displayVertex(Graphics, VizVertex) - Method in class support.graph.GraphCanvas
 
displayVertexStandalone(Graphics, VizVertex) - Method in class support.graph.GraphCanvas
 
displayVertexWithColor(Graphics, VizVertex, Color) - Method in class support.graph.GraphCanvas
 
dispResultLine(String) - Method in class support.graph.GraphViz
 
dispTitle(String) - Method in class support.graph.GraphViz
 
dominantVertex(VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
draw() - Method in class support.graph.GraphCanvas
 

E

EdgeIterator<CS16Edge> - Class in support.graph
 
EdgeIterator(Iterator<CS16Edge>) - Constructor for class support.graph.EdgeIterator
 
edges() - Method in class graph.MyGraph
Returns an iterator holding all the Edge's of the graph.
edges() - Method in interface support.graph.AdjacencyMatrixGraph
Returns an iterator holding all the Edge's of the graph.
edges() - Method in class support.graph.GraphCanvas
 
edgeSelected(int, boolean) - Method in class support.graph.GraphViz
Changes the buttons and labels on the visualizer to enable editing of pre-existing edge weights
element() - Method in interface support.graph.CS16Edge
 
element() - Method in class support.graph.CS16Position
 
element() - Method in interface support.graph.CS16Vertex
 
element() - Method in class support.graph.GraphEdge
 
element() - Method in class support.graph.GraphVertex
 
element() - Method in class support.graph.NodeSequence.SNode
 
endVertices(CS16Edge) - Method in class graph.MyGraph
Returns the two Vertex's that the Edge e is incident upon.
endVertices(CS16Edge) - Method in interface support.graph.AdjacencyMatrixGraph
Returns the two Vertex's that the Edge e is incident upon.
endVertices() - Method in class support.graph.GraphCanvas
 

F

first() - Method in class support.graph.NodeSequence
 

G

genMinSpanForest(AdjacencyMatrixGraph, CS16GraphVisualizer) - Method in class graph.MyKruskal
This method implements Kruskal's algorithm and extends it slightly to account for disconnected graphs.
genMinSpanForest(AdjacencyMatrixGraph, CS16GraphVisualizer) - Method in class graph.MyPrimJarnik
This method implements Prim-Jarnik's algorithm and extends it slightly to account for disconnected graphs.
genMinSpanForest(AdjacencyMatrixGraph, CS16GraphVisualizer) - Method in interface support.graph.MinSpanForest
This method implements Kruskal's algorithm and extends it slightly to account for disconnected graphs.
get(int) - Method in class support.graph.NodeSequence
 
getDecoration(K) - Method in class graph.MyDecorator
Gets the decoration associated with the given key.
getDecoration(K) - Method in interface support.graph.CS16Decorator
 
getDistance(VizVertex, VizVertex) - Method in class support.graph.GraphCanvas
 
getEdgeIterator() - Method in class support.graph.GraphCanvas
Returns an iterator of the edges in the graph
getEdgeLength(CS16Edge) - Method in class support.graph.GraphCanvas
Returns the length ("distance", NOT necessarily weight) of a given edge
getEdgeWeight(CS16Edge) - Method in class support.graph.GraphCanvas
Returns the weight (NOT necessarily length) of a given edge
getEndVertices(CS16Edge) - Method in class support.graph.GraphCanvas
Returns the endpoints of an edge
getFirst() - Method in class support.graph.NodeSequence
 
getFromVertex() - Method in interface support.graph.CS16Edge
 
getFromVertex() - Method in class support.graph.GraphEdge
 
getKeys() - Method in class graph.MyDecorator
Returns a Set of all keys for this decoration.
getKeys() - Method in interface support.graph.CS16Decorator
 
getLabel() - Method in class support.graph.VizVertex
 
getLast() - Method in class support.graph.NodeSequence
 
getNewEdgeWeight() - Method in class support.graph.GraphViz
Gets the weight for a newly inserted edge If "Distance" is selected for edge weight, a negative number is returned and the distance is calculated by the canvas.
getPosition() - Method in interface support.graph.CS16Edge
 
getPosition() - Method in interface support.graph.CS16Vertex
 
getPosition() - Method in class support.graph.GraphEdge
 
getPosition() - Method in class support.graph.GraphVertex
 
getToVertex() - Method in interface support.graph.CS16Edge
 
getToVertex() - Method in class support.graph.GraphEdge
 
getVertexIterator() - Method in class support.graph.GraphCanvas
Returns an itererator of the vertices in the graph
getVertexNumber() - Method in interface support.graph.CS16Vertex
 
getVertexNumber() - Method in class support.graph.GraphVertex
 
getX() - Method in class support.graph.VizVertex
 
getY() - Method in class support.graph.VizVertex
 
graph - package graph
 
GraphCanvas - Class in support.graph
 
GraphCanvas(GraphViz, String, String, String) - Constructor for class support.graph.GraphCanvas
 
GraphEdge - Class in support.graph
 
GraphEdge(Object) - Constructor for class support.graph.GraphEdge
 
GraphEdge() - Constructor for class support.graph.GraphEdge
 
GraphException - Exception in support.graph
Class that is superclass for all exceptions in the support.graph package.
GraphException(String) - Constructor for exception support.graph.GraphException
 
GraphIterator<CS16Vertex> - Class in support.graph
 
GraphIterator(Iterator<CS16Vertex>) - Constructor for class support.graph.GraphIterator
 
GraphVertex - Class in support.graph
 
GraphVertex(Object) - Constructor for class support.graph.GraphVertex
 
GraphVertex() - Constructor for class support.graph.GraphVertex
 
GraphViz - Class in support.graph
 
GraphViz(String, String, String) - Constructor for class support.graph.GraphViz
 

H

hasDecoration(K) - Method in class graph.MyDecorator
Returns true if there is a decoration for the given key, false otherwise.
hasDecoration(K) - Method in interface support.graph.CS16Decorator
 
hasNext() - Method in class support.graph.EdgeIterator
 
hasNext() - Method in class support.graph.GraphIterator
 

I

incidentEdges(CS16Vertex) - Method in class graph.MyGraph
Returns an Iterator over all the Edges that are connected to this Vertex.
incidentEdges(CS16Vertex) - Method in interface support.graph.AdjacencyMatrixGraph
Returns an EdgeIterator over all the Edge's that are connected to this Vertex.
incidentEdges() - Method in class support.graph.GraphCanvas
 
incrementNextVertName() - Method in class support.graph.GraphCanvas
Increments the next vert name
incrementRows() - Method in class support.graph.GraphViz
 
indexOf(Position<E>) - Method in class support.graph.NodeSequence
 
insertEdge(CS16Vertex, CS16Vertex, Object) - Method in class graph.MyGraph
Inserts a new Edge into your Graph.
insertEdge(CS16Vertex, CS16Vertex, Object) - Method in interface support.graph.AdjacencyMatrixGraph
Inserts a new Edge into your Graph.
insertVertex(Object) - Method in class graph.MyGraph
Inserts a new Vertex into your Graph.
insertVertex(Object) - Method in interface support.graph.AdjacencyMatrixGraph
Inserts a new Vertex into your Graph.
InvalidEdgeException - Exception in support.graph
HAIKU: The edge in question The opposite of valid Therefore, invalid
InvalidEdgeException(String) - Constructor for exception support.graph.InvalidEdgeException
 
InvalidVertexException - Exception in support.graph
HAIKU: Corrupted vertex Wears the brand of "invalid" Outlawed forever
InvalidVertexException(String) - Constructor for exception support.graph.InvalidVertexException
 
isEmpty() - Method in class support.graph.NodeSequence
 
isWithinRange(long, long, long, long, long, long) - Method in class support.graph.GraphCanvas
 
iterator() - Method in class support.graph.NodeSequence
 

K

kruskal() - Method in class support.graph.GraphCanvas
 

L

last() - Method in class support.graph.NodeSequence
 
loadGraph() - Method in class support.graph.GraphViz
 

M

main(String[]) - Static method in class support.graph.GraphViz
 
MAX_VERTICES - Static variable in interface support.graph.AdjacencyMatrixGraph
 
MinSpanForest - Interface in support.graph
This class is a takeoff of Kruskal's minimum spanning tree algorithm.
mouseClicked(MouseEvent) - Method in class support.graph.GraphCanvas
 
mouseDragged(MouseEvent) - Method in class support.graph.GraphCanvas
 
mouseEntered(MouseEvent) - Method in class support.graph.GraphCanvas
 
mouseExited(MouseEvent) - Method in class support.graph.GraphCanvas
 
mouseMoved(MouseEvent) - Method in class support.graph.GraphCanvas
 
mousePressed(MouseEvent) - Method in class support.graph.GraphCanvas
 
mouseReleased(MouseEvent) - Method in class support.graph.GraphCanvas
 
MyDecorator<K,V> - Class in graph
Your implementation of decorations.
MyDecorator() - Constructor for class graph.MyDecorator
 
MyGraph - Class in graph
 
MyGraph() - Constructor for class graph.MyGraph
Constructor for your Graph, where among other things, you will most likely want to instantiate your matrix array, and your NodeSequence's.
MyKruskal - Class in graph
 
MyKruskal() - Constructor for class graph.MyKruskal
 
MyPrimJarnik - Class in graph
 
MyPrimJarnik() - Constructor for class graph.MyPrimJarnik
 

N

next() - Method in class support.graph.EdgeIterator
 
next() - Method in class support.graph.GraphIterator
 
next(Position<E>) - Method in class support.graph.NodeSequence
 
NodeSequence<E> - Class in support.graph
 
NodeSequence() - Constructor for class support.graph.NodeSequence
 
NodeSequence.SNode<E> - Class in support.graph
 
NodeSequence.SNode(E, NodeSequence<E>) - Constructor for class support.graph.NodeSequence.SNode
 
noEdgeSelected() - Method in class support.graph.GraphViz
Changes the buttons and labels on the visualizer to enable creation of a new edge
NoSuchEdgeException - Exception in support.graph
An object of this class gets thrown when an Edge object with certain properties does not exist in the graph.
NoSuchEdgeException(String) - Constructor for exception support.graph.NoSuchEdgeException
 
NoSuchVertexException - Exception in support.graph
An object of this class gets thrown when a Vertex object with certain properties does not exist in the graph.
NoSuchVertexException(String) - Constructor for exception support.graph.NoSuchVertexException
 

O

opposite(CS16Vertex, CS16Edge) - Method in class graph.MyGraph
Returns the Vertex that is on the other side of Edge e opposite of Vertex v.
opposite(CS16Vertex, CS16Edge) - Method in interface support.graph.AdjacencyMatrixGraph
Returns the Vertex that is on the other side of Edge e opposite of Vertex v.
opposite() - Method in class support.graph.GraphCanvas
 

P

paint(Graphics) - Method in class support.graph.GraphCanvas
Updates the visualizer graphically Also, checks to see whether an edge is selected, and updates the radio buttons accordingly
positions() - Method in class support.graph.NodeSequence
 
prev(Position<E>) - Method in class support.graph.NodeSequence
 
prim() - Method in class support.graph.GraphCanvas
 

R

redraw() - Method in class support.graph.GraphCanvas
 
remove() - Method in class support.graph.EdgeIterator
 
remove() - Method in class support.graph.GraphIterator
 
remove(int) - Method in class support.graph.NodeSequence
 
remove(Position<E>) - Method in class support.graph.NodeSequence
 
removeDecoration(K) - Method in class graph.MyDecorator
Removes the decoration for the given key and returns the value associated with it.
removeDecoration(K) - Method in interface support.graph.CS16Decorator
 
removeEdge(CS16Edge) - Method in class graph.MyGraph
Removes an Edge from your Graph.
removeEdge(CS16Edge) - Method in interface support.graph.AdjacencyMatrixGraph
Removes an Edge from your Graph.
removeFirst() - Method in class support.graph.NodeSequence
 
removeLast() - Method in class support.graph.NodeSequence
 
removeVertex(CS16Vertex) - Method in class graph.MyGraph
Removes a Vertex from your graph.
removeVertex(CS16Vertex) - Method in interface support.graph.AdjacencyMatrixGraph
Removes a Vertex from your graph.
reset() - Method in class support.graph.EdgeIterator
 
reset() - Method in class support.graph.GraphIterator
 
runFrontend() - Method in class support.graph.GraphViz
 

S

saveGraph() - Method in class support.graph.GraphViz
 
set(int, E) - Method in class support.graph.NodeSequence
 
set(Position<E>, E) - Method in class support.graph.NodeSequence
 
setDecoration(K, V) - Method in class graph.MyDecorator
Sets the decoration for the specified key to value.
setDecoration(K, V) - Method in interface support.graph.CS16Decorator
 
setElement(Object) - Method in class support.graph.GraphEdge
 
setElement(Object) - Method in class support.graph.GraphVertex
 
setElement(E) - Method in class support.graph.NodeSequence.SNode
Sets the position's element
setFromVertex(CS16Vertex) - Method in interface support.graph.CS16Edge
 
setFromVertex(CS16Vertex) - Method in class support.graph.GraphEdge
 
setLabel(String) - Method in class support.graph.VizVertex
 
setMSTdisplay(int) - Method in class support.graph.GraphCanvas
Changes the currently selected set of MST edges for animation.
setNextVertName(String) - Method in class support.graph.GraphCanvas
Sets the next vertex name
setPosition(Position<CS16Edge>) - Method in interface support.graph.CS16Edge
 
setPosition(Position<CS16Vertex>) - Method in interface support.graph.CS16Vertex
 
setPosition(Position<CS16Edge>) - Method in class support.graph.GraphEdge
 
setPosition(Position<CS16Vertex>) - Method in class support.graph.GraphVertex
 
setSliderSteps(int) - Method in class support.graph.GraphViz
Sets the number of steps on the MST slider.
setToVertex(CS16Vertex) - Method in interface support.graph.CS16Edge
 
setToVertex(CS16Vertex) - Method in class support.graph.GraphEdge
 
setVertexNumber(Integer) - Method in interface support.graph.CS16Vertex
 
setVertexNumber(Integer) - Method in class support.graph.GraphVertex
 
setX(int) - Method in class support.graph.VizVertex
 
setY(int) - Method in class support.graph.VizVertex
 
showHelp() - Method in class support.graph.GraphViz
 
size() - Method in class support.graph.NodeSequence
 
support.graph - package support.graph
 

T

trappedEdge(int, int) - Method in class support.graph.GraphCanvas
 
trappedVertex(int, int) - Method in class support.graph.GraphCanvas
 

U

update(Graphics) - Method in class support.graph.GraphCanvas
 
updateEdgeToLength() - Method in class support.graph.GraphCanvas
Change the weight of the selected edge to its length
updateSelectedEdge(int) - Method in class support.graph.GraphCanvas
Change the weight of the currently selected edge.

V

vertices() - Method in class graph.MyGraph
Returns an iterator holding all the Vertex's of the graph.
vertices() - Method in interface support.graph.AdjacencyMatrixGraph
Returns an iterator holding all the Vertex's of the graph.
vertices() - Method in class support.graph.GraphCanvas
 
VizVertex - Class in support.graph
 
VizVertex(int, int) - Constructor for class support.graph.VizVertex
 

A C D E F G H I K L M N O P R S T U V