public class SimulatedAnnealing.PlacementNodePosition
extends java.lang.Object
Constructor and Description |
---|
SimulatedAnnealing.PlacementNodePosition(java.util.List<PlacementFrame.PlacementNode> allNodes,
int index)
Creates this.
|
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
Orientation |
getPlacementOrientation() |
double |
getPlacementX() |
double |
getPlacementY() |
void |
setIndex(int index) |
void |
setPlacement(double x,
double y) |
void |
setPlacementOrientation(Orientation o) |
void |
setPlacementX(double x) |
void |
setPlacementY(double y) |
public SimulatedAnnealing.PlacementNodePosition(java.util.List<PlacementFrame.PlacementNode> allNodes, int index)
allNodes
- a list of all PlacementNode
s.index
- the index of the desired PlacementNode
to
store the coordinates for.public double getPlacementX()
public void setPlacementX(double x)
public double getPlacementY()
public void setPlacementY(double y)
public void setPlacement(double x, double y)
public Orientation getPlacementOrientation()
public void setPlacementOrientation(Orientation o)
public int getIndex()
public void setIndex(int index)