public class AStarNode extends AStarNodeBase<AStarNode>
costFromStart, costToGoal, origin, pq_i, state, totalCost, x, y, z
Constructor and Description |
---|
AStarNode() |
AStarNode(int x,
int y,
int z) |
Modifier and Type | Method and Description |
---|---|
void |
addTerminal(int quadrant) |
int |
compareTo(AStarNode o) |
boolean |
equals(java.lang.Object o) |
int |
getHorizontalCapacityPathNumber() |
int |
getMaxTerminalCountPerQuadrant() |
int[] |
getQuadrants() |
int |
getTemporaryBlockingState()
0 = The node was not visited before, so use as regular node
1 = The tile at this location was blocked from the beginning => permanent blockage 2 = The tile at this location was blocked temporarily to safe nodes with terminals => temporary blockage |
int |
getTerminalCount() |
int |
getVerticalCapacityPathNumber() |
void |
setHorizontalCapacityPathNumber(int horizontalCapacityPathNumber) |
void |
setTemporaryBlockingState(int newTemporaryBlockingState)
0 = The node was not visited before, so use as regular node
1 = The tile at this location was blocked from the beginning => permanent blockage 2 = The tile at this location was blocked temporarily to safe nodes with terminals => temporary blockage |
void |
setVerticalCapacityPathNumber(int verticalCapacityPathNumber) |
getCostFromStart, getCostToGoal, getTotalCost, getX, getY, getZ, initialize, isClosed, isOpen, markAsClosed, markAsNoList, markAsOpen, toString
public int compareTo(AStarNode o)
public boolean equals(java.lang.Object o)
equals
in class AStarNodeBase<AStarNode>
public void setHorizontalCapacityPathNumber(int horizontalCapacityPathNumber)
public int getHorizontalCapacityPathNumber()
public void setVerticalCapacityPathNumber(int verticalCapacityPathNumber)
public int getVerticalCapacityPathNumber()
public int getTerminalCount()
public void addTerminal(int quadrant)
public void setTemporaryBlockingState(int newTemporaryBlockingState)
newTemporaryBlockingState
- public int getTemporaryBlockingState()
public int[] getQuadrants()
public int getMaxTerminalCountPerQuadrant()