Normal_Color
(package private) final Color Normal_Color
actual_Color
(package private) final Color actual_Color
cost_Color
(package private) final Color cost_Color
nodes
private ArrayList nodes
select_Color
(package private) final Color select_Color
startNode
private Node startNode
start_Color
(package private) final Color start_Color
vertexes
private ArrayList vertexes
addNode
public void addNode(Node n)
addVertex
public void addVertex(Vertex v)
clickedOnWeight
(package private) Vertex clickedOnWeight(int x,
int y)
getMaxWeight
public double getMaxWeight()
getNode
public Node getNode(String name)
getNode
public Node getNode(int i)
getNodes
public ArrayList getNodes()
getRadius
public int getRadius()
Returns the radius.
getSize
public int getSize()
getStartNode
public Node getStartNode()
Returns the startVertex.
getVertex
public Vertex getVertex(int i)
getVertexes
public ArrayList getVertexes()
getWeight
public double getWeight(int s,
int d)
removeAllVertexesWithNode
public void removeAllVertexesWithNode(Node n)
removeNode
public void removeNode(Node n)
setNode
public void setNode(int i,
Node node)
setNodes
public void setNodes(ArrayList nodes)
Sets the nodes.
setRadius
public void setRadius(int radius)
Sets the radius.
radius
- The radius to set
setStartNode
public void setStartNode(Node startVertex)
Sets the startVertex.
startVertex
- The startVertex to set
setStartNode
protected void setStartNode(String string)
setVertex
public void setVertex(Vertex vertex)
setVertexes
public void setVertexes(ArrayList vertexes)
Sets the vertexes.
vertexes
- The vertexes to set
updateNodeCosts
public void updateNodeCosts()