jfreerails.controller
Interface IncrementalPathFinder
- All Known Implementing Classes:
- PathOnTrackFinder, SimpleAStarPathFinder, TrackPathFinder
public interface IncrementalPathFinder
Defines part of the contract for a pathfinder whose search can be completed
in several steps.
- Author:
- Luke
PATH_NOT_FOUND
static final int PATH_NOT_FOUND
- See Also:
- Constant Field Values
PATH_FOUND
static final int PATH_FOUND
- See Also:
- Constant Field Values
SEARCH_PAUSED
static final int SEARCH_PAUSED
- See Also:
- Constant Field Values
SEARCH_NOT_STARTED
static final int SEARCH_NOT_STARTED
- See Also:
- Constant Field Values
getStatus
int getStatus()
search
void search(long maxDuration)
throws PathNotFoundException
- Throws:
PathNotFoundException
abandonSearch
void abandonSearch()