Jedit 4.1
A B C D E F G H I J K M N O P Q R S T U V W

A

actionPerformed(ActionEvent) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used to act on the user's selections in the popup menus.
actionPerformed(ActionEvent) - Method in class edu.bsu.cs.gui.JeditControls.JeditToolbar
 
actionPerformed(ActionEvent) - Method in class edu.bsu.cs.gui.JeditControls.JeditMenu
 
actionPerformed(ActionEvent) - Method in class edu.bsu.cs.gui.JeditControls.JeditAction
Implements all actions.
actionPerformed(ActionEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Called when the user clicks on one of the Frame's buttons.
add(int) - Method in class edu.bsu.cs.algorithm.Queue
Adds an integer to the end of the Queue.
ADDARC - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction to indicate that mouse drags add Arcs to the panel's JavaGraph.
addComponent(JavaGraph) - Method in class edu.bsu.cs.graph.JavaGraph
Adds g as a component to the JavaGraph.
addDummyEdges(JavaGraph) - Method in class edu.bsu.cs.algorithm.MaximalPlanar
Adds all the required dummy edges to make the graph maximal planar
ADDEDGE - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction to indicate that mouse drags add Edges to the panel's JavaGraph.
addEdge(double, int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Adds an edge from the Vertex with the first index to the Vertex with the second index and sets the new Edge's weight to the specified value.
addEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Adds an edge from the Vertex with the first index to the Vertex with the second index.
addTheSameEdges(JavaGraph, JavaGraph) - Method in class edu.bsu.cs.algorithm.MaximalPlanar
Adds to jGraph all the edges that are in auxGraph
ADDVERTEX - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction to indicate that mouse presses add Vertices to the panel's JavaGraph.
addVertex() - Method in class edu.bsu.cs.graph.JavaGraph
Adds a single vertex with default properties
addVertex(Point) - Method in class edu.bsu.cs.graph.JavaGraph
Adds a new Vertex to the graph and moves it to the Point location.
adjacencyMatrix() - Method in class edu.bsu.cs.graph.JavaGraph
Returns the adjacency matrix of graph g.
adjustmentValueChanged(AdjustmentEvent) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used when Scrollbars are moved.
Algorithm - class edu.bsu.cs.algorithm.Algorithm.
Serves as a superclass of all algorithms for Jedit.
Algorithm() - Constructor for class edu.bsu.cs.algorithm.Algorithm
Default constructor.
Algorithm(String) - Constructor for class edu.bsu.cs.algorithm.Algorithm
Constructor with a parameter to set the algorithm name to newName.
algorithmVector - Variable in class edu.bsu.cs.gui.JeditAlgorithms
 
allDistances(JavaGraph) - Method in class edu.bsu.cs.algorithm.Floyd
 
allTs(JavaGraph) - Method in class edu.bsu.cs.algorithm.Floyd
 
amountOfFragments() - Method in class edu.bsu.cs.algorithm.Fragments
 
amountOfMarkedVertices(JavaGraph) - Method in class edu.bsu.cs.algorithm.Fragments
Returns the number of marked vertices in G
amountOfUnmarkEdges(JavaGraph, int) - Method in class edu.bsu.cs.algorithm.Fragments
Returns the number of edges that are incident to vertexNumber and are not martked
Animation - class edu.bsu.cs.gui.Animation.
Acts as an animation player which takes a vector of AnimObject and plays their instructions on the target frame.
Animation(Vector, JeditPanel, boolean) - Constructor for class edu.bsu.cs.gui.Animation
Constructor for class Animation.
AnimObject - class edu.bsu.cs.gui.AnimObject.
This object is produced by Algorithm subclasses and placed into a Vector that is then processed by an instance of the AnimObject(Object, int, Color, int) - Constructor for class edu.bsu.cs.gui.AnimObject
 
append(String) - Method in class edu.bsu.cs.gui.JeditFrame.JeditTextArea
 
arrangeComponent(int) - Method in class edu.bsu.cs.graph.JavaGraph
Arranges the component that the vertex numbered v is contained in.
arrangeVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Arranges all of the vertices in the graph in a circle.
arrangeVertices(double, int, int, int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Arranges the specified vertices in the graph in a circle.
autoLabelAllEdges() - Method in class edu.bsu.cs.gui.JeditPanel
This method sets the labels of all Edges/Arcs to reflect their endpoint Vertices.
AUTOMATICALGORITHM - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with edu.bsu.cs.algorithm.setType and edu.bsu.cs.algorithm.getType to to indicate that the algorithm determined by getAlgorithm will start automatically.
auxListRegions - Variable in class edu.bsu.cs.algorithm.MaximalPlanar
 
auxListRegions - Variable in class edu.bsu.cs.algorithm.BlocksMerger
 

B

backup() - Method in class edu.bsu.cs.gui.JeditPanel
Store a copy of the current JavaGraph as a backup.
baseTitle - Static variable in class edu.bsu.cs.gui.JeditFrame
 
BlockFinding - class edu.bsu.cs.algorithm.BlockFinding.
Finds various blocks in a graph.
BlockFinding() - Constructor for class edu.bsu.cs.algorithm.BlockFinding
 
blockFinding(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BlockFinding
 
BlockFinding(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.BlockFinding
 
BlocksMerger - class edu.bsu.cs.algorithm.BlocksMerger.
An animated implementation of Blocks Merger algorithm.
BlocksMerger() - Constructor for class edu.bsu.cs.algorithm.BlocksMerger
 
BlocksMerger(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BlocksMerger
Called by the constructor to do all of the work
BlocksMerger(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.BlocksMerger
 
BreadthSearch - class edu.bsu.cs.algorithm.BreadthSearch.
An animated implementation of the Breadth-First Search algorithm, starting at the vertex the user clicks on.
BreadthSearch() - Constructor for class edu.bsu.cs.algorithm.BreadthSearch
 
breadthSearch(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BreadthSearch
 
BreadthSearch(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.BreadthSearch
 
bundle - Variable in class edu.bsu.cs.gui.JeditResources
The ResourceBundle that holds all of the resources.

C

callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.NetworkFlow
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Median
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.MaxFlowMinCut
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.EulerianWalk
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.DeleteAllEdges
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Center
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PruferTree
Constructs a Prufer Tree.
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PruferCode
Implementation of the Prufer Code algorithm.
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Prim
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PlanarityDrawing
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Petersen
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.MaximalPlanar
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Kn
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Kmn
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Hypercube
Constructs a Hypercube graph and displays it in the current panel.
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Heawood
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.HavelHakimi
Implementation of the Havel-Hakimi algorithm.
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Fragments
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Floyd
Constructs a Floyd algorithm as in Floyd(JavaGraph, Vector, Vector).
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Dijkstra2
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Dijkstra1
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.DepthSearch
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.DegreeSequence
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.ComponentSearch
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BreadthSearch
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BlocksMerger
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.BlockFinding
 
callOwnConstructor(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Algorithm
This method is called by Jedit for any algorithm it executes and must be used in any working algorithm.
CanonicalOrdering - class edu.bsu.cs.algorithm.CanonicalOrdering.
An animated implementation of the Canonical Ordering algorithm.
CanonicalOrdering() - Constructor for class edu.bsu.cs.algorithm.CanonicalOrdering
 
CanonicalOrdering(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
Called by the constructor to do all of the work
CanonicalOrdering(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.CanonicalOrdering
 
Center - class edu.bsu.cs.algorithm.Center.
Finds the center of a given graph.
center() - Method in class edu.bsu.cs.algorithm.Center
 
Center() - Constructor for class edu.bsu.cs.algorithm.Center
 
center(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Center
 
Center(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.Center
 
closeOutOfCyclePaths(JavaGraph) - Method in class edu.bsu.cs.algorithm.Fragments
Marks all the edges of the vertices that cannot be in the cycle, this avoids getting stacked .
color - Variable in class edu.bsu.cs.gui.AnimObject
Holds the color that an edge or vertex will be turned to, if this AnimObject is of the appropriate type
completelyMarked(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Returns true if all the vertices and edges are marked
componentOrder(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the integer order of the component that the vertex v is contained in.
ComponentSearch - class edu.bsu.cs.algorithm.ComponentSearch.
Finds the individual components in a graph.
ComponentSearch() - Constructor for class edu.bsu.cs.algorithm.ComponentSearch
 
ComponentSearch(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.ComponentSearch
 
componentVisualCenter(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the graphical/visual center of the component that the vertex v is contained in.
cSearch(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.ComponentSearch
 

D

DEFAULT_BACKGROUND_COLOR - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_EDGE_COLOR - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_EDGE_WEIGHT - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_LABEL_COLOR - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_MARKED_COLOR - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_VERTEX_COLOR - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULT_VERTEX_WEIGHT - Static variable in class edu.bsu.cs.gui.JeditFrame
 
DEFAULTCOLOR - Variable in class edu.bsu.cs.graph.Edge
The default Edge color.
DegreeSequence - class edu.bsu.cs.algorithm.DegreeSequence.
Generates a representative graph based on a series of degrees of vertices (whole numbers).
DegreeSequence() - Constructor for class edu.bsu.cs.algorithm.DegreeSequence
 
degreeSequence(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.DegreeSequence
 
DegreeSequence(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.DegreeSequence
 
DELAY - Static variable in class edu.bsu.cs.gui.AnimObject
Indicates that the AnimObject represents a pause in the animation.
DeleteAllEdges - class edu.bsu.cs.algorithm.DeleteAllEdges.
Deletes all edges in a graph.
DeleteAllEdges() - Constructor for class edu.bsu.cs.algorithm.DeleteAllEdges
 
DepthSearch - class edu.bsu.cs.algorithm.DepthSearch.
An animated implementation of the Depth-First Search algorithm.
DepthSearch() - Constructor for class edu.bsu.cs.algorithm.DepthSearch
 
depthSearch(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.DepthSearch
Called by the constructor to do all of the work
DepthSearch(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.DepthSearch
 
DIGRAPH - Static variable in class edu.bsu.cs.graph.JavaGraph
The flag for a directed Graph
Dijkstra1 - class edu.bsu.cs.algorithm.Dijkstra1.
Finds the shortest path between a vertex the user clicks on and all other vertices using Dijkstra's Shortest Path algorithm.
Dijkstra1() - Constructor for class edu.bsu.cs.algorithm.Dijkstra1
 
dijkstra1(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Dijkstra1
 
Dijkstra1(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.Dijkstra1
 
Dijkstra2 - class edu.bsu.cs.algorithm.Dijkstra2.
Finds the shortest path between two vertices the user clicks on using Dijkstra's Shortest Path algorithm.
Dijkstra2() - Constructor for class edu.bsu.cs.algorithm.Dijkstra2
 
dijkstra2(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Dijkstra2
 
Dijkstra2(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.Dijkstra2
 
distanceBetweenVertices(double[][], int, int) - Method in class edu.bsu.cs.algorithm.Floyd
 
doPlanarity(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Core of the algorithm.
doTextualAlgorithm(String) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used to run an algorithm that requires text input.
drawBackgroundGrid(Graphics, double, double, int, int, Color) - Method in class edu.bsu.cs.gui.JeditPanel
Draws the Background grid.

E

Edge - class edu.bsu.cs.graph.Edge.
The base class for implementing a graph edge.
EDGE - Static variable in class edu.bsu.cs.gui.AnimObject
Indicates that the AnimObject is associated with an edge or arc.
Edge() - Constructor for class edu.bsu.cs.graph.Edge
Default constructor.
Edge(Edge) - Constructor for class edu.bsu.cs.graph.Edge
Cloning constructor.
edu.bsu.cs.algorithm - package edu.bsu.cs.algorithm
 
edu.bsu.cs.graph - package edu.bsu.cs.graph
 
edu.bsu.cs.gui - package edu.bsu.cs.gui
 
EulerianWalk - class edu.bsu.cs.algorithm.EulerianWalk.
Finds the Eulerian Walk of a graph.
eulerianWalk() - Method in class edu.bsu.cs.algorithm.EulerianWalk
 
EulerianWalk() - Constructor for class edu.bsu.cs.algorithm.EulerianWalk
 
eulerianWalk(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.EulerianWalk
 
EulerianWalk(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.EulerianWalk
 
executeBlocksMerger(JavaGraph) - Method in class edu.bsu.cs.algorithm.BlocksMerger
Performs the merging of the blocks
executeComponentSearch(JavaGraph, int) - Method in class edu.bsu.cs.algorithm.ComponentSearch
 
executeDepthSearch(JavaGraph, int) - Method in class edu.bsu.cs.algorithm.DepthSearch
 
executeDijkstra1(JavaGraph, int) - Method in class edu.bsu.cs.algorithm.Dijkstra1
 
executeDijkstra2(JavaGraph, int, int) - Method in class edu.bsu.cs.algorithm.Dijkstra2
 
executeFragments(JavaGraph, JavaGraph) - Method in class edu.bsu.cs.algorithm.Fragments
 
executePlanarity(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Performrs the testing of planarity.
existDegreeFive(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Checks if exist at least one vertex with degree five or less
existEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns true if an edge exists between the vertices numbered by from and to.
existEdge(JavaGraph, int, int) - Method in class edu.bsu.cs.algorithm.Fragments
 

F

find_different_nodes(int[][], int[], int) - Static method in class edu.bsu.cs.algorithm.BlockFinding
 
findCycle(JavaGraph) - Method in class edu.bsu.cs.algorithm.Fragments
Finds any cycle in the graph
findEdge(Point) - Method in class edu.bsu.cs.graph.JavaGraph
Finds an edge near a point.
findTheCanonical(JavaGraph) - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
Core of the algorithm.
findVertex(Point) - Method in class edu.bsu.cs.graph.JavaGraph
Finds a vertex near a point.
firstVertexEdge - Variable in class edu.bsu.cs.algorithm.MaximalPlanar
 
firstVertexEdgeBD - Variable in class edu.bsu.cs.algorithm.BlocksMerger
 
Floyd - class edu.bsu.cs.algorithm.Floyd.
An animated implementation of the Floyd-Warshall Shortest Path algorithm.
Floyd() - Constructor for class edu.bsu.cs.algorithm.Floyd
Constructs a Floyd algorithm with a default name, type, and description.
Fragments - class edu.bsu.cs.algorithm.Fragments.
An animated implementation of the Fragments algorithm.
Fragments() - Constructor for class edu.bsu.cs.algorithm.Fragments
 
fragments(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Fragments
Called by the constructor to do all of the work
Fragments(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.Fragments
 

G

generateRegionsForOrderFour() - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
In the case of a Graph with 4 vertices, Planarity Testing will not generate the regions, therefore we have to create them
getAccelerator(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getAlgorithm() - Method in class edu.bsu.cs.gui.JeditPanel
Gets the Algorithm that will be run on the Panel.
getAllTheBlocks(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Returns a vector will all the blocks of the graph.
getApplet() - Method in class edu.bsu.cs.gui.JeditFrame
 
getAppletInfo() - Method in class JEdit
Returns Get Info text for Jedit.
getBackgroundColor() - Method in class edu.bsu.cs.gui.JeditPanel
Get the Panel's background color.
getCode() - Method in class edu.bsu.cs.algorithm.Algorithm
Returns the value of code - generally the class name of the algorithm.
getCode(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getColor() - Method in class edu.bsu.cs.graph.Vertex
Returns the color of the Vertex.
getColor() - Method in class edu.bsu.cs.graph.Edge
Returns the color of the Edge.
getCoord() - Method in class edu.bsu.cs.graph.Vertex
Returns a point containing the x,y coordinates of the Vertex.
getDelay() - Method in class edu.bsu.cs.gui.JeditPanel
Gets the flag that determines whether or not algorithms should be animated when run on the Panel.
getDescription() - Method in class edu.bsu.cs.algorithm.Algorithm
Returns the description of the algorithm.
getEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns a point containing the indices of the endpoints of the edge if it exists.
getEdgeAutoLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag that tells whether or not to label new Edges/Arcs with their Endpoint Vertices' labels (starting at zero)
getEdgeColor() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default Color for new Edges/Arcs
getEdgeColor(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Gets the Color of the specified Edge.
getEdgeLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default label for new Edes/Arcs that are not labeld with their endpoint vertices
getEdgeLabel(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the label of the specified Edge
getEdgeWeight() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default weight for new Edges/Arcs
getEdgeWeight(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the weight of the specified Edge
getEdgeWeight2() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default second weight for new Edges/Arcs
getEdgeWeight2(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the second weight of the specified Edge
getEnable() - Method in class edu.bsu.cs.gui.JeditPanel
Used to get the panel's state for accepting mouse input (true) or ignoring it (false).
getFinalVertexPosition() - Method in class edu.bsu.cs.gui.AnimObject
 
getFragmentAt(int) - Method in class edu.bsu.cs.algorithm.Fragments
Returns the fragment contain at position i
getFrame() - Method in class edu.bsu.cs.gui.JeditPanel
 
getGraph() - Method in class edu.bsu.cs.gui.JeditPanel
Retrieve the JavaGraph for this panel.
getGraphType() - Method in class edu.bsu.cs.graph.JavaGraph
Returns a flag for the graph type as follows:
GRAPH = 0;
DIGRAPH = 1;
MULTIGRAPH = 2;
POLYGON = 3;
getGridX0() - Method in class edu.bsu.cs.gui.AnimObject
 
getGridY0() - Method in class edu.bsu.cs.gui.AnimObject
 
getIcon(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getInputTextString() - Method in class edu.bsu.cs.gui.JeditPanel
Gets the String that will appear by default in the window prompting a user for input to start an algorithm that requires text input.
getIsDisabled(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getIsSelected(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getIsSubmenu(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getIsToggle(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getKeyName(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getLabel() - Method in class edu.bsu.cs.graph.Vertex
Returns the string label of the Vertex.
getLabel() - Method in class edu.bsu.cs.graph.Edge
Returns the string label of the Edge.
getLabelColor() - Method in class edu.bsu.cs.gui.JeditPanel
Get the Color of Edge/Arc labels and weights, Vertex weights, and the status string.
getLongDescription(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getMessagePane() - Method in class edu.bsu.cs.gui.JeditFrame
 
getMnemonicKey(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getMouseAction() - Method in class edu.bsu.cs.gui.JeditPanel
This method is used to determine the meaning of mouse actions on the canvas.
getName() - Method in class edu.bsu.cs.algorithm.Algorithm
Returns the algorithm's name.
getOffSet() - Method in class edu.bsu.cs.gui.JeditPanel
Return the coordinates for the upper left corner of the visible panel.
getPanel() - Method in class edu.bsu.cs.gui.JeditFrame
This method returns the JeditPanel that the current JeditFrame contains.
getPreviousVertexPosition() - Method in class edu.bsu.cs.gui.AnimObject
 
getSelectedIcon(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getShortDescription(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getShowEdgeLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag determining whether or not to render Edge/Arc labels
getShowEdgeWeight() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag that determines whether or not to show Edge/Arc weights
getShowVertexLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag determining whether or not to render Vertex labels
getShowVertexWeight() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag that determines whether or not to show Vertex weights
getText(String) - Method in class edu.bsu.cs.gui.JeditResources
 
getType() - Method in class edu.bsu.cs.algorithm.Algorithm
Returns the type of the algorithm.
getVertexAutoLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the flag that tells whether or not to label new Vertices with their number in the graph (starting at zero)
getVertexColor() - Method in class edu.bsu.cs.gui.JeditPanel
Gets the default color for new Vertices
getVertexColor(int) - Method in class edu.bsu.cs.graph.JavaGraph
Gets the Color of the specified Vertex.
getVertexCoord(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the coordinates of the specified Vertex.
getVertexDegree(int) - Method in class edu.bsu.cs.graph.JavaGraph
Return the degree of the specified vertex.
getVertexLabel() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default label for new Vertices that are not automatically labeled with numbers
getVertexLabel(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the label of the specified Vertex.
getVertexRadius() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default radius for all Vertices.
getVertexWeight() - Method in class edu.bsu.cs.gui.JeditPanel
Get the default weight for new Vertices.
getVertexWeight(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns the weight of the specified Vertex.
getVisibleArea() - Method in class edu.bsu.cs.graph.JavaGraph
Gets the visible area for the graph.
getWeight() - Method in class edu.bsu.cs.graph.Vertex
Returns the weight of the Vertex.
getWeight() - Method in class edu.bsu.cs.graph.Edge
Returns the value of weight of the Edge.
getWeight2() - Method in class edu.bsu.cs.graph.Edge
Returns the value of weight2 of the Edge.
GRAPH - Static variable in class edu.bsu.cs.graph.JavaGraph
The flag for an undirected Graph
GRAPHDIRECTORY - Static variable in class edu.bsu.cs.gui.JeditFrame
 

H

HavelHakimi - class edu.bsu.cs.algorithm.HavelHakimi.
 
HavelHakimi() - Constructor for class edu.bsu.cs.algorithm.HavelHakimi
Default HavelHakimi constructor.
Heawood - class edu.bsu.cs.algorithm.Heawood.
Creates a Heawood graph.
Heawood() - Constructor for class edu.bsu.cs.algorithm.Heawood
 
Hypercube - class edu.bsu.cs.algorithm.Hypercube.
Constructs a Hypercube graph of 2n vertices, 2n-1n edges, 2n-3n(n-1) squares, and n(n-1)(n-2)2n-4/3 cubes.
Hypercube(int) - Constructor for class edu.bsu.cs.algorithm.Hypercube
Constructs a Hypercube graph with n = N and type AUTOMATICALGORITHM.

I

indexOfParent(int, int, int[]) - Static method in class edu.bsu.cs.algorithm.Dijkstra2
 
indexOfParent(int, int, int[]) - Static method in class edu.bsu.cs.algorithm.Dijkstra1
 
init() - Method in class JEdit
Called by the browser to set up the applet to receive mouse events.
insertRegionAt(JavaGraph, Region, Region, int) - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
Inserts region b into a replacing vertex v of a
isChangingPosition() - Method in class edu.bsu.cs.gui.AnimObject
 
isEdgeMarked(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns true if the specified Edge is marked.
isMarked() - Method in class edu.bsu.cs.graph.Vertex
Returns true if Vertex is marked.
isMarked() - Method in class edu.bsu.cs.graph.Edge
Returns true if Edge is marked.
isThisEdgeMarked(JavaGraph, int, int) - Method in class edu.bsu.cs.algorithm.Fragments
Returns true if the edge x->y or y->x is marked, false otherwise
isVertexMarked(int) - Method in class edu.bsu.cs.graph.JavaGraph
Returns true if the specified Vertex is marked.

J

JavaGraph - class edu.bsu.cs.graph.JavaGraph.
The base class for implementing a graph - consists of a set of vertices, a set of edges, and a graph type.
JavaGraph() - Constructor for class edu.bsu.cs.graph.JavaGraph
Default constructor.
JavaGraph(int, JavaGraph) - Constructor for class edu.bsu.cs.graph.JavaGraph
Constructs a new graph from the component containing vertex v in graph g1.
JavaGraph(JavaGraph) - Constructor for class edu.bsu.cs.graph.JavaGraph
Cloning constructor.
JavaGraph(JavaGraph, JavaGraph) - Constructor for class edu.bsu.cs.graph.JavaGraph
Constructs a new graph from two graphs (combines them into one graph with two components).
JEdit - class JEdit.
An applet that consists of a clickable button for launching the JEdit program.
JEdit() - Constructor for class JEdit
 
JeditAlgorithms - class edu.bsu.cs.gui.JeditAlgorithms.
A Frame that allows users to select an algorithm, whether or not to animate the algorithm, and whether or not to run the algorithm in a new window.
JeditAlgorithms(JeditFrame) - Constructor for class edu.bsu.cs.gui.JeditAlgorithms
This constructor instantiates JeditAlgorithms with the target JeditFrame newFrame.
JeditAlgorithms(JeditFrame, boolean) - Constructor for class edu.bsu.cs.gui.JeditAlgorithms
 
JeditControls - class edu.bsu.cs.gui.JeditControls.
Creates and maintains the "controls" for Jedit - the JeditMenubar and JeditToolbar.
JeditControls.JeditAction - class edu.bsu.cs.gui.JeditControls.JeditAction.
Contains and maintains all of the Actions for the JeditControls.
JeditControls.JeditAction(String) - Constructor for class edu.bsu.cs.gui.JeditControls.JeditAction
Creates a new JeditAction of name text.
JeditControls.JeditMenu - class edu.bsu.cs.gui.JeditControls.JeditMenu.
A Menu that a user of Jedit uses to indicate what action should be taken next.
JeditControls.JeditMenu() - Constructor for class edu.bsu.cs.gui.JeditControls.JeditMenu
Default constructor.
JeditControls.JeditMenu(String, String[], int) - Constructor for class edu.bsu.cs.gui.JeditControls.JeditMenu
Creates a new JMenu with the following properties.
JeditControls.JeditMenubar - class edu.bsu.cs.gui.JeditControls.JeditMenubar.
The menubar for Jedit.
JeditControls.JeditMenubar() - Constructor for class edu.bsu.cs.gui.JeditControls.JeditMenubar
Constructor.
JeditControls.JeditToolbar - class edu.bsu.cs.gui.JeditControls.JeditToolbar.
The Toolbar that a user of Jedit uses to indicate what action should be taken next.
JeditControls.JeditToolbar() - Constructor for class edu.bsu.cs.gui.JeditControls.JeditToolbar
Default constructor.
JeditControls.JeditToolbar(JeditPanel, String[], int, String) - Constructor for class edu.bsu.cs.gui.JeditControls.JeditToolbar
Creates a new JeditToolbar with the following properties.
JeditControls(JeditFrame) - Constructor for class edu.bsu.cs.gui.JeditControls
Creates a new JeditControls panel and places it on newpanel.
JeditFrame - class edu.bsu.cs.gui.JeditFrame.
The Frame that the user sees after clicking the JavaEdit button in the html page.
JeditFrame.JeditScrollPane - class edu.bsu.cs.gui.JeditFrame.JeditScrollPane.
 
JeditFrame.JeditScrollPane(Component) - Constructor for class edu.bsu.cs.gui.JeditFrame.JeditScrollPane
 
JeditFrame.JeditTextArea - class edu.bsu.cs.gui.JeditFrame.JeditTextArea.
 
JeditFrame.JeditTextArea() - Constructor for class edu.bsu.cs.gui.JeditFrame.JeditTextArea
 
JeditFrame(Applet) - Constructor for class edu.bsu.cs.gui.JeditFrame
Creates an empty JeditFrame with no Title.
JeditFrame(JeditFrame) - Constructor for class edu.bsu.cs.gui.JeditFrame
Creates a new JeditFrame that is an exact copy of an existing Frame.
JeditFrame(JeditFrame, boolean) - Constructor for class edu.bsu.cs.gui.JeditFrame
Creates a new JeditFrame that is a duplicate of an existing JeditFrame.
JeditFrame(String, Applet) - Constructor for class edu.bsu.cs.gui.JeditFrame
Creates a new JeditFrame, sets the frame title and target, gives the frame a default size, location, Window Listener, JeditControls.JeditMenubar, JeditControls.JeditToolbar, JeditPanel, and makes the frame visible.
JeditPanel - class edu.bsu.cs.gui.JeditPanel.
Renders a JavaGraph and allows the user to manipulate it with mouse events.
JeditPanel(JeditFrame) - Constructor for class edu.bsu.cs.gui.JeditPanel
Creates a new JavaGraph for the new JeditPanel.
JeditPanel(JeditFrame, JeditPanel) - Constructor for class edu.bsu.cs.gui.JeditPanel
This cloning constructor makes the new JeditPanel an exact copy of the JeditPanel first.
JeditResources - class edu.bsu.cs.gui.JeditResources.
Creates and maintains the Resources from a .properties document which is kept in the /classes directory.
JeditResources(String) - Constructor for class edu.bsu.cs.gui.JeditResources
 
JeditResources(String, Locale) - Constructor for class edu.bsu.cs.gui.JeditResources
 

K

Kmn - class edu.bsu.cs.algorithm.Kmn.
Creates a Km,n graph.
Kmn(int, int) - Constructor for class edu.bsu.cs.algorithm.Kmn
 
Kn - class edu.bsu.cs.algorithm.Kn.
Creates a Kn graph.
Kn(int) - Constructor for class edu.bsu.cs.algorithm.Kn
 

M

make_scan(int[], JavaGraph, int, int) - Method in class edu.bsu.cs.algorithm.BlockFinding
 
mark() - Method in class edu.bsu.cs.graph.Vertex
Marks the Vertex by setting an internal attribute marked to true and by setting the attribute vertexColor to JeditFrame.DEFAULT_MARKED_COLOR.
mark() - Method in class edu.bsu.cs.graph.Edge
Marks the Edge by setting an internal attribute marked to true and by setting the attribute edgeColor to JeditFrame.DEFAULT_MARKED_COLOR.
markAllEdges() - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to true for all of the Eges in the graph.
markAllVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to true for all of the Vertices in the graph.
markComponent(int) - Method in class edu.bsu.cs.graph.JavaGraph
Marks the component that the vertex numbered v is contained in.
markEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to true for the specified Edge.
markVertex(int) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to true for the specified Vertex.
MaxFlowMinCut - class edu.bsu.cs.algorithm.MaxFlowMinCut.
An animated implementation of Max-Flow Min-Cut Algorithm.
MaxFlowMinCut() - Constructor for class edu.bsu.cs.algorithm.MaxFlowMinCut
 
maxflowmincut(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.MaxFlowMinCut
The algorithm is implemented here
MaxFlowMinCut(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.MaxFlowMinCut
calls the maxflowmincut function.
MaximalPlanar - class edu.bsu.cs.algorithm.MaximalPlanar.
An animated implementation of Maximal Planar algorithm.
MaximalPlanar() - Constructor for class edu.bsu.cs.algorithm.MaximalPlanar
 
MaximalPlanar(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.MaximalPlanar
Called by the constructor to do all of the work
MaximalPlanar(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.MaximalPlanar
 
Median - class edu.bsu.cs.algorithm.Median.
Finds the Median of a given graph.
median() - Method in class edu.bsu.cs.algorithm.Median
 
Median() - Constructor for class edu.bsu.cs.algorithm.Median
 
median(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.Median
 
Median(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.Median
 
minimo(double, double) - Static method in class edu.bsu.cs.algorithm.Dijkstra2
 
minimo(double, double) - Static method in class edu.bsu.cs.algorithm.Dijkstra1
 
mouseClicked(MouseEvent) - Method in class JEdit
Not implemented.
mouseClicked(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
 
mouseClicked(MouseEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
mouseDragged(MouseEvent) - Method in class JEdit
Not implemented.
mouseDragged(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used for adding Edges/Arcs and moving objects around the panel.
mouseEntered(MouseEvent) - Method in class JEdit
Not implemented.
mouseEntered(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
Not implemented.
mouseEntered(MouseEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Activates.
mouseExited(MouseEvent) - Method in class JEdit
If the mouse is moved off of the button, repaints the window.
mouseExited(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
Not implemented.
mouseExited(MouseEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
mouseMoved(MouseEvent) - Method in class JEdit
Checks whether the mouse has moved onto the button.
mouseMoved(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
Not implemented.
mousePressed(MouseEvent) - Method in class JEdit
If the event is on the button, creates a new JeditFrame.
mousePressed(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used to add Vertices and start algorithms.
mousePressed(MouseEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
mouseReleased(MouseEvent) - Method in class JEdit
Not implemented.
mouseReleased(MouseEvent) - Method in class edu.bsu.cs.gui.JeditPanel
 
mouseReleased(MouseEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
moveComponent(int, Point, Point) - Method in class edu.bsu.cs.graph.JavaGraph
Moves the component that the vertex numbered v is contained in.
MOVETHINGS - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction to indicate that mouse drags move Vertices, Edges, and Arcs in the panel's JavaGraph.
moveVertex(int, Point) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the coordinates of the specified vertex to the Point location.
MULTIGRAPH - Static variable in class edu.bsu.cs.graph.JavaGraph
Not currently in use

N

NetworkFlow - class edu.bsu.cs.algorithm.NetworkFlow.
Runs a Breadth-First search starting at a vertex clicked on by the user.
NetworkFlow() - Constructor for class edu.bsu.cs.algorithm.NetworkFlow
 
networkFlow(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.NetworkFlow
 
NetworkFlow(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.NetworkFlow
 
NEWFILENAME - Static variable in class edu.bsu.cs.gui.JeditFrame
 
newVertexPosition(Point) - Method in class edu.bsu.cs.gui.AnimObject
 
NOTHING - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction to indicate that mouse actions are ignored.
numberVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Sets the labels of the vertices to match their indices.

O

object - Variable in class edu.bsu.cs.gui.AnimObject
Holds the object used to enact this step in the animation.
objectType - Variable in class edu.bsu.cs.gui.AnimObject
Indicates what the AnimObject is Associate with.
ONECLICKALGORITHM - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction and edu.bsu.cs.algorithm.setType and edu.bsu.cs.algorithm.getType to indicate that the next mouse click will launch the algorithm determined by getAlgorithm.
order() - Method in class edu.bsu.cs.graph.JavaGraph
Returns the total number of vertices in the graph.

P

paint(Graphics) - Method in class JEdit
Paints the button and logo in the applet.
paint(Graphics) - Method in class edu.bsu.cs.gui.JeditPanel
Responsible for all of the JavaGraph rendering.
panel - Variable in class edu.bsu.cs.gui.JeditControls
The JeditPanel that the JeditControls are placed and operate on.
period - Variable in class edu.bsu.cs.gui.AnimObject
Indicates how long, in milliseconds, the animation should wait before proceeding to the next AnimObject in the animation.
Petersen - class edu.bsu.cs.algorithm.Petersen.
Creates a Petersen graph.
Petersen() - Constructor for class edu.bsu.cs.algorithm.Petersen
Creates a Petersen graph but does not display it.
PlanarityDrawing - class edu.bsu.cs.algorithm.PlanarityDrawing.
An animated implementation of the Planarity Drawing algorithm.
PlanarityDrawing() - Constructor for class edu.bsu.cs.algorithm.PlanarityDrawing
 
PlanarityDrawing(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PlanarityDrawing
Called by the constructor to do all of the work
PlanarityDrawing(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.PlanarityDrawing
 
PlanarityTesting - class edu.bsu.cs.algorithm.PlanarityTesting.
An implementation of the Planarity Testing algorithm.
PlanarityTesting() - Constructor for class edu.bsu.cs.algorithm.PlanarityTesting
 
planarityTesting(JavaGraph, Vector, Vector) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Called by the constructor to do all of the work
PlanarityTesting(JavaGraph, Vector, Vector) - Constructor for class edu.bsu.cs.algorithm.PlanarityTesting
 
POLYGON - Static variable in class edu.bsu.cs.graph.JavaGraph
Not currently in use
prettifyAction(Action, String) - Method in class edu.bsu.cs.gui.JeditResources
 
prettifyButton(AbstractButton, String) - Method in class edu.bsu.cs.gui.JeditResources
 
prettifyMenuItem(JMenuItem, String) - Method in class edu.bsu.cs.gui.JeditResources
 
previousVertexPosition(Point) - Method in class edu.bsu.cs.gui.AnimObject
 
Prim - class edu.bsu.cs.algorithm.Prim.
Finds a minimum spanning tree using Prim's Algorithm.
Prim() - Constructor for class edu.bsu.cs.algorithm.Prim
 
PruferCode - class edu.bsu.cs.algorithm.PruferCode.
Takes a Tree and produces the corresponding Prufer Code.
PruferCode() - Constructor for class edu.bsu.cs.algorithm.PruferCode
Default PruferCode constructor.
PruferTree - class edu.bsu.cs.algorithm.PruferTree.
Produces a Tree from a user-supplied Prufer Code.
PruferTree() - Constructor for class edu.bsu.cs.algorithm.PruferTree
Sets name, type, and description of algorithm.

Q

Queue - class edu.bsu.cs.algorithm.Queue.
An implementation of a Queue of integers.
Queue() - Constructor for class edu.bsu.cs.algorithm.Queue
Constructs an empty Queue.

R

regionsAfterDummyEdgesAdded() - Method in class edu.bsu.cs.algorithm.MaximalPlanar
 
remove() - Method in class edu.bsu.cs.algorithm.Queue
Removes an integer from the beginning of the Queue and returns it.
removeAllMarkedVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Removes all marked Vertices and their Edges from the graph.
removeAllVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Removes all Vertices and their Edges from the graph.
removeComponent(int) - Method in class edu.bsu.cs.graph.JavaGraph
Removes the component that the vertex numbered v is contained in.
removeEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Removes the specified Edge from the graph.
removeEdge(Point) - Method in class edu.bsu.cs.graph.JavaGraph
Removes the specified Edge from the graph.
removeUnmark(JavaGraph, JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Removes all the unmarked vertices and edges of auxGraph
removeVertex(int) - Method in class edu.bsu.cs.graph.JavaGraph
Removes the speciefied vertex and all of its Edges from the graph.
resizeComponent(int, double) - Method in class edu.bsu.cs.graph.JavaGraph
Resizes the component that the vertex numbered v is contained in.
resizeGraph(double) - Method in class edu.bsu.cs.graph.JavaGraph
Resizes a graph
restoreBackup() - Method in class edu.bsu.cs.gui.JeditPanel
Change the panel's JavaGraph to the backed up version.
rm - Variable in class edu.bsu.cs.gui.JeditControls
The JeditResources that handles the jedit.properties document which contains information such as Text, Icon, ShortDescription for all of the menus, menu items, and toolbar buttons.
rotateComponent(int, double) - Method in class edu.bsu.cs.graph.JavaGraph
Rotates the component that the vertex numbered v is contained in by the number of degrees in angle.
run() - Method in class edu.bsu.cs.gui.JeditAlgorithms
Responsible for making the algorithm description match the algorithm that the user has selected.
run() - Method in class edu.bsu.cs.gui.Animation
Run in a separate Thread and plays through the Vector passed to the constructor.

S

secondVertexEdge - Variable in class edu.bsu.cs.algorithm.MaximalPlanar
 
secondVertexEdgeBD - Variable in class edu.bsu.cs.algorithm.BlocksMerger
 
setAlgorithm(Algorithm) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the Algorithm that will be run on the Panel.
setBackgroundColor(Color) - Method in class edu.bsu.cs.gui.JeditPanel
Set the Panel's background color.
setButtons(String[]) - Method in class edu.bsu.cs.gui.JeditControls.JeditToolbar
 
setCode(String) - Method in class edu.bsu.cs.algorithm.Algorithm
Sets the value of code - generally the class name of the algorithm.
setColor(Color) - Method in class edu.bsu.cs.graph.Vertex
Sets the color of the Vertex to be the value of newColor.
setColor(Color) - Method in class edu.bsu.cs.graph.Edge
Sets the color of the Edge to be the value of newColor.
setCoord(Point) - Method in class edu.bsu.cs.graph.Vertex
Sets the x,y coordinates of the Vertex to be the value of the x,y coordinates in newPoint.
setDelay(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the flag that determines whether or not algorithms should be animated when run on the Panel.
setDescription(Vector) - Method in class edu.bsu.cs.algorithm.Algorithm
Sets the description of the algorithm to d.
setEdgeAutoLabel(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag that tells whether or not to label new Edges/Arcs with their Endpoint Vertices' labels (starting at zero)
setEdgeColor(Color) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default Color for new Edges/Arcs
setEdgeColor(int, int, Color) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the Color of the specified Edge.
setEdgeLabel(int, int, String) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the label of the specified Edge
setEdgeLabel(String) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default label for new Edes/Arcs that are not labeld with their endpoint vertices
setEdgeWeight(double) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default weight for new Edges/Arcs
setEdgeWeight(int, int, double) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the weight of the specified Edge
setEdgeWeight2(double) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default second weight for new Edges/Arcs
setEdgeWeight2(int, int, double) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the second weight of the specified Edge
setEnable(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Used to set the panel in a state to accept mouse input (true) or ignore it (false).
setFromResources() - Method in class edu.bsu.cs.algorithm.Algorithm
Sets algorithm attributes from the external resource file jedit.properties stored in the classes subdirectory.
setGraph(JavaGraph) - Method in class edu.bsu.cs.gui.JeditPanel
Set the JavaGraph for this panel.
setGraphType(int) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the flag for graph type as follows:
GRAPH = 0;
DIGRAPH = 1;
MULTIGRAPH = 2;
POLYGON = 3;
setGridColor(Color) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the gridColor.
setGridUnitXY(double, double) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the gridUnitX and gridUnitY.
setGridX0Y0(int, int) - Method in class edu.bsu.cs.gui.JeditPanel
Sets gridX0 and gridY0.
setGridX0Y0(int, int) - Method in class edu.bsu.cs.gui.AnimObject
 
setInputTextString(String) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the String that will appear by default in the window prompting a user for input to start an algorithm that requires text input.
setLabel(String) - Method in class edu.bsu.cs.graph.Vertex
Sets the string label of the Vertex to be the value of newString.
setLabel(String) - Method in class edu.bsu.cs.graph.Edge
Sets the value of the label of the edge to be newLabel.
setLabelColor(Color) - Method in class edu.bsu.cs.gui.JeditPanel
Set the Color of Edge/Arc labels and weights, Vertex weights, and the status string.
setMessagePane(JeditFrame.JeditTextArea) - Method in class edu.bsu.cs.gui.JeditFrame
 
setMouseAction(int) - Method in class edu.bsu.cs.gui.JeditPanel
This method is used to set the meaning of mouse actions on the canvas.
setName(String) - Method in class edu.bsu.cs.algorithm.Algorithm
Sets the algorithm's name to newName.
setOffSet(Point) - Method in class edu.bsu.cs.gui.JeditPanel
Set the coordinates for the upper left corner of the visible panel.
setOrientation(int) - Method in class edu.bsu.cs.gui.JeditControls.JeditToolbar
 
setPanel(JeditPanel) - Method in class edu.bsu.cs.gui.JeditControls.JeditToolbar
 
setShowEdgeLabel(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag determining whether or not to render Edge/Arc labels
setShowEdgeWeight(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag that determines whether or not to show Edge/Arc weights
setShowVertexLabel(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag determining whether or not to render Vertex labels
setShowVertexWeight(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag that determines whether or not to show Vertex weights
setStatus(String) - Method in class edu.bsu.cs.gui.JeditPanel
Set the text for the status written in the lower left corner of the panel.
setTitle(String) - Method in class edu.bsu.cs.gui.JeditControls.JeditToolbar
 
setType(int) - Method in class edu.bsu.cs.algorithm.Algorithm
Sets the algorithm type to t.
setVertexAutoLabel(boolean) - Method in class edu.bsu.cs.gui.JeditPanel
Set the flag that tells whether or not to label new Vertices with their number in the graph (starting at zero)
setVertexColor(Color) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default label for new Vertices that are not automatically labeled with numbers
setVertexColor(int, Color) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the Color of the specified Vertex.
setVertexLabel(int, String) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the label of the specified Vertex.
setVertexLabel(String) - Method in class edu.bsu.cs.gui.JeditPanel
Sets the default color for new Vertices
setVertexRadius(int) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default radius for all Vertices
setVertexWeight(double) - Method in class edu.bsu.cs.gui.JeditPanel
Set the default weight for new Vertices.
setVertexWeight(int, double) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the weight of the specified Vertex
setVisibleArea(Rectangle) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the visible area for the graph.
setWeight(double) - Method in class edu.bsu.cs.graph.Vertex
Sets the weight of the Vertex to be the value of newWeight.
setWeight(double) - Method in class edu.bsu.cs.graph.Edge
Sets the value of weight of the Edge to be newWeight.
setWeight2(double) - Method in class edu.bsu.cs.graph.Edge
Sets the value of weight2 of the Edge to be newWeight.
showAllRegions() - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Shows all the regions of the graph.
showRegion(Region) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Shows regions in a text format.
startVertex - Variable in class edu.bsu.cs.algorithm.Fragments
 
succeeded() - Method in class edu.bsu.cs.algorithm.Algorithm
Returns true if the Algorithm succeeded, otherwise returns false.
succeeded(boolean) - Method in class edu.bsu.cs.algorithm.Algorithm
Sets the value of success.

T

TEXT - Static variable in class edu.bsu.cs.gui.AnimObject
Indicates that the AnimObject is associated with a text message.
TEXTINPUTALGORITHM - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with edu.bsu.cs.algorithm.setType and edu.bsu.cs.algorithm.getType to to indicate that the algorithm determined by getAlgorithm requires text input.
that() - Method in class edu.bsu.cs.algorithm.Fragments
 
thatBlockFinding() - Method in class edu.bsu.cs.algorithm.BlockFinding
 
thatBlocksMerger() - Method in class edu.bsu.cs.algorithm.BlocksMerger
 
thatBreadthSearch() - Method in class edu.bsu.cs.algorithm.BreadthSearch
 
thatCanonicalOrdering() - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
 
thatComponentSearch() - Method in class edu.bsu.cs.algorithm.ComponentSearch
 
thatDegreeSequence() - Method in class edu.bsu.cs.algorithm.DegreeSequence
 
thatDepthSearch() - Method in class edu.bsu.cs.algorithm.DepthSearch
 
thatDijkstra1() - Method in class edu.bsu.cs.algorithm.Dijkstra1
 
thatDijkstra2() - Method in class edu.bsu.cs.algorithm.Dijkstra2
 
thatMaxFlowMinCut() - Method in class edu.bsu.cs.algorithm.MaxFlowMinCut
This function serves as that() in other algorithms.
thatMaximalPlanar() - Method in class edu.bsu.cs.algorithm.MaximalPlanar
 
thatNetworkFlow() - Method in class edu.bsu.cs.algorithm.NetworkFlow
 
thatPlanarityDrawing() - Method in class edu.bsu.cs.algorithm.PlanarityDrawing
 
thatPlanarityTesting() - Method in class edu.bsu.cs.algorithm.PlanarityTesting
 
theoremCheck(JavaGraph) - Method in class edu.bsu.cs.algorithm.PlanarityTesting
Find out if the graph satisfies any of the planarity theorems it returns 1 if G is planar, 2 if G is nonplanar and 0 if it is uncertain
toString() - Method in class edu.bsu.cs.graph.Vertex
Returns a string in the form of [label]([x],[y]) [weight].
toString() - Method in class edu.bsu.cs.graph.JavaGraph
Returns the String used in print and println method calls
toString() - Method in class edu.bsu.cs.graph.Edge
Returns a string in the form of [label]:[weight].
TWOCLICKALGORITHM - Static variable in class edu.bsu.cs.gui.JeditPanel
A flag used with setMouseAction and edu.bsu.cs.algorithm.setType and edu.bsu.cs.algorithm.getType to indicate that the next two mouse clicks will launch the algorithm determined by getAlgorithm.

U

unmark() - Method in class edu.bsu.cs.graph.Vertex
Unmarks the Vertex by setting an internal attribute marked to false and by setting the attribute vertexColor to JeditFrame.DEFAULT_VERTEX_COLOR.
unmark() - Method in class edu.bsu.cs.graph.Edge
Unmarks the Edge by setting an internal attribute marked to false and by setting the attribute edgeColor to JeditFrame.DEFAULT_EDGE_COLOR.
unmarkAllEdges() - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to false for all of the Eges in the graph.
unmarkAllVertices() - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to false for all of the Vertices in the graph.
unmarkComponent(int) - Method in class edu.bsu.cs.graph.JavaGraph
Unmarks the component that the vertex numbered v is contained in.
unmarkEdge(int, int) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to false for the specified Edge.
unMarkGraphAB(JavaGraph, JavaGraph, JavaGraph) - Method in class edu.bsu.cs.algorithm.Fragments
Unmark all the edges and vertices in A which are marked in B.
unmarkVertex(int) - Method in class edu.bsu.cs.graph.JavaGraph
Sets the marked flag to false for the specified Vertex.
update(Graphics) - Method in class JEdit
Overridden for double-buffered graphics.
update(Graphics) - Method in class edu.bsu.cs.gui.JeditPanel
Overridden for double-buffering.
updateListRegionCanonical(Vector) - Method in class edu.bsu.cs.algorithm.CanonicalOrdering
In the case of being called from an external class, the regions have to be updated
updateListRegionsForMaximal(Vector) - Method in class edu.bsu.cs.algorithm.MaximalPlanar
 

V

Vertex - class edu.bsu.cs.graph.Vertex.
The base class for implementing a graph vertex.
VERTEX - Static variable in class edu.bsu.cs.gui.AnimObject
Indicates that the AnimObject is associated with a vertex.
Vertex() - Constructor for class edu.bsu.cs.graph.Vertex
Default constructor.
Vertex(Vertex) - Constructor for class edu.bsu.cs.graph.Vertex
Cloning constructor.

W

windowActivated(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowActivated(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
windowClosed(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowClosed(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
windowClosing(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Disposes.
windowClosing(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Disposes.
windowDeactivated(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowDeactivated(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
windowDeiconified(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowDeiconified(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
windowIconified(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowIconified(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Disposes if active.
windowOpened(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.
windowOpened(WindowEvent) - Method in class edu.bsu.cs.gui.JeditAlgorithms
Not implemented.
windowOpening(WindowEvent) - Method in class edu.bsu.cs.gui.JeditFrame
Not implemented.

A B C D E F G H I J K M N O P Q R S T U V W
Jedit 4.1