public interface ExplorationState
Modifier and Type | Method and Description |
---|---|
long |
getCurrentLocation()
Return the unique identifier associated with your current location.
|
int |
getDistanceToTarget()
Return your current distance along the grid (NOT THE GRAPH) from the target.
|
java.util.Collection<NodeStatus> |
getNeighbors()
Returns an unordered collection of NodeStatus objects
associated with all direct neighbors of your current location.
|
void |
moveTo(long id)
Change your current location to the node specified by id.
|
long getCurrentLocation()
java.util.Collection<NodeStatus> getNeighbors()
int getDistanceToTarget()
void moveTo(long id)