cordXOfWeight
private int cordXOfWeight
cordYOfWeight
private int cordYOfWeight
gPath
private GeneralPath gPath
isAddedToSolution
private boolean isAddedToSolution
isSelected
private boolean isSelected
calcCordWeight
public int calcCordWeight(Node f,
Node end)
getColor
public Color getColor()
getCordXOfWeight
public int getCordXOfWeight()
getCordYOfWeight
public int getCordYOfWeight()
getCosts
public int getCosts()
getEnd
public Node getEnd()
getGPath
public GeneralPath getGPath()
getOtherNode
public Node getOtherNode(Node n)
getStart
public Node getStart()
getWeight
public int getWeight()
isAddedToSolution
public boolean isAddedToSolution()
Returns the isAddedToSolution.
isNodePartOfVertex
public boolean isNodePartOfVertex(Node n)
isSelected
public boolean isSelected()
Returns the isSelected.
setAddedToSolution
public void setAddedToSolution(boolean b)
setColor
public void setColor(Color color)
setCordXOfWeight
public void setCordXOfWeight(int cordXOfWeight)
Sets the cordXOfWeight.
cordXOfWeight
- The cordXOfWeight to set
setCordYOfWeight
public void setCordYOfWeight(int cordYOfWeight)
Sets the cordYOfWeight.
cordYOfWeight
- The cordYOfWeight to set
setEnd
public void setEnd(Node node)
setGPath
public void setGPath(GeneralPath path)
setIsAddedToSolution
public void setIsAddedToSolution(boolean b)
Method setIsAddedToSolution.
setIsSelected
public void setIsSelected(boolean isSelected)
Sets the isSelected.
isSelected
- The isSelected to set
setStart
public void setStart(Node node)
setWeight
public void setWeight(int weight)
Sets the weight.
weight
- The weight to set