|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Navigator
An agent that chooses which way a vehicle should go, and uses information
from a AutoDriver
to do so.
Method Summary | |
---|---|
Road |
navigate(Road current,
IntersectionManager im,
Road destination)
Given the current Road, the IntersectionManager being approached, and a destination Road, find a road that leave the IntersectionManager that will lead to the destination Road. |
Method Detail |
---|
Road navigate(Road current, IntersectionManager im, Road destination)
current
- the Road on which the vehicle is currently travelingim
- the IntersectionManager the vehicle is approachingdestination
- the Road on which the vehicle would ultimately like to
end up
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |