public class AStar extends Object implements Iterator
| Constructor and Description |
|---|
AStar(AStarState[] initial,
int expectedSize)
Create an A* search iterator starting from the given initial states.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
Object |
next() |
AStarNode |
nextAnswer()
Get the next search node for a final state.
|
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic AStar(AStarState[] initial, int expectedSize)
initial - the set of initial statesexpectedSize - the expected size of the search queuepublic AStarNode nextAnswer()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.