public class AStarNode extends SearchNode
| Modifier and Type | Class and Description |
|---|---|
class |
AStarNode.NextNodeIterator
Iterator over new A* search nodes generated by state transitions
from this node's state.
|
| Constructor and Description |
|---|
AStarNode(AStarState state,
AStarNode parent,
double cost)
Create an A* search node with given state, parent, and cost.
|
| Modifier and Type | Method and Description |
|---|---|
double |
completionCost()
Get the completion cost for the underlying state.
|
SearchNode.NextNodeIterator |
getNextNodes()
Get an iterator over the new search nodes reachable
from this node by state transitions.
|
getCost, getParent, getPosition, getPriority, getState, isFinal, setPosition, setPriority, toStringpublic AStarNode(AStarState state, AStarNode parent, double cost)
state - the stateparent - the parentcost - the costpublic double completionCost()
public SearchNode.NextNodeIterator getNextNodes()
SearchNodegetNextNodes in class SearchNodeCopyright © 2019 JULIE Lab, Germany. All rights reserved.