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

Field Summary
static int PATH_FOUND
           
static int PATH_NOT_FOUND
           
static int SEARCH_NOT_STARTED
           
static int SEARCH_PAUSED
           
 
Method Summary
 void abandonSearch()
           
 int getStatus()
           
 void search(long maxDuration)
           
 

Field Detail

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
Method Detail

getStatus

int getStatus()

search

void search(long maxDuration)
            throws PathNotFoundException
Throws:
PathNotFoundException

abandonSearch

void abandonSearch()