Serialized Form

Class AnimationPanel implements Serializable

Serialized Fields

rect

Rectangle rect
A Rectangle that specifies the area that this AnimationPanel spans.

strokeSize

Stroke strokeSize
The outline thickness for graphic objects.

myVisuals

Visualization myVisuals
Used to control the visualizaton's in this Panel.

legend

Legend legend
A legend for the different graphics in this Panel.

width

int width

height

int height

insets

Insets insets

name

String name

strHelp

String strHelp


Class CompleteEuclideanGraph implements Serializable

Serialized Fields

N

int N
Number of points in the graph.

currentStep

int currentStep
Number of steps completed.

points

Vector points
A Vector of the points for the graph. Use the Vector's iterator to iterate through the points.

MAX_POINTS

int MAX_POINTS
The maximum amount of points this algorithm can use. Too many points may make the algorithm too slow. Default value is 15000.


Class EuclideanGraph implements Serializable

Serialized Fields

N

int N
Number of points in graph

currentStep

int currentStep
Number of steps completed

source

int source
index of the source point

dest

int dest
index of the destination point

adj

GraphNode[] adj
array of adjacency lists

p

Point[] p
array of Euclidean points

MAX_POINTS

int MAX_POINTS
The maximum amount of points this algorithm can use. Too many points may make the algorithm too slow. Default value is 1500.

cc

int[] cc


Class EuclideanTSP implements Serializable

Serialized Fields

tour

Node tour
first Node on the tour


Class GraphApplet implements Serializable

Serialized Fields

GUIFrame

GraphFrame GUIFrame
The frame that the algorithms will be viewed in.

launchButton

JButton launchButton
Button that launches new the GUIFrame.
See Also:
GraphFrame

dataFiles

String[] dataFiles
Array of data Files. Each data file having point coordinates in it.


Class GraphFrame implements Serializable

Serialized Fields

random

URL random

D

double D

codeBase

URL codeBase

timer

Timer timer

reqN

String reqN

txtRandom

JTextField txtRandom

rndButton

JRadioButton rndButton

fileList

JComboBox fileList

fileButton

JRadioButton fileButton

progressBar

JProgressBar progressBar

playing

boolean playing

visualization

boolean visualization

rndGraph

boolean rndGraph

laststep

int laststep

decimalFormat

DecimalFormat decimalFormat

myFrame

Component myFrame

menuBar

JMenuBar menuBar

menuAlgorithm

JMenu menuAlgorithm

Algs

Vector Algs

AlgNames

Vector AlgNames

subAlgs

Vector subAlgs

subAlgNames

Vector subAlgNames

subAlgVis

Vector subAlgVis

Panels

Vector Panels

helpFiles

Vector helpFiles

menuFrame

JMenu menuFrame

frameStrings

String[] frameStrings

menuItemFrame

JMenuItem[] menuItemFrame

menuVisualization

JMenu menuVisualization

visualStrings

String[] visualStrings

menuItemVisualization

JRadioButtonMenuItem[] menuItemVisualization

menuLookFeel

JMenu menuLookFeel

menuItemLookFeel

JRadioButtonMenuItem[] menuItemLookFeel

lookFeelStrings

String[] lookFeelStrings

looks

UIManager.LookAndFeelInfo[] looks

displayPanel

AnimationPanel displayPanel

slider

JSlider slider

statusTextField

JTextField statusTextField

dataFiles

String[] dataFiles

currentDataFile

String currentDataFile

ah

GraphFrame.AlgorithmHandler ah

bottomPanel

JPanel bottomPanel


Class Legend implements Serializable

Serialized Fields

hpad10

Dimension hpad10

vpad10

Dimension vpad10

LEG_WIDTH

int LEG_WIDTH

pointPanel

JPanel pointPanel

visualPanel

JPanel visualPanel

edgePanel

JPanel edgePanel

points

int points

edges

int edges

visuals

int visuals



Visualization of Graph Algorithms

Author: Paul Simbi
Started by: Kevin Wayne
2002