|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IRouteFinder
An interface to an object that can determine a route, which may be an agent, or if the agent has not yet been created, the trip. The agent is used if it exists, because it holds more context, and as such will make a more informed choice.
| Method Summary | |
|---|---|
boolean |
arrivesHere(ILink approach)
Return true if the trip arrives here |
int |
routeExitIndex(ITwig twig)
Return [1..N] exit index, or 0 if there is a route choice at the end of this link and there is no route to destination. |
| Method Detail |
|---|
int routeExitIndex(ITwig twig)
boolean arrivesHere(ILink approach)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||