|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DriverSimView
A driver from simulators' viewpoint.
Method Summary | |
---|---|
void |
act()
Take control actions for driving the agent's Vehicle. |
Lane |
getCurrentLane()
Get the Lane the driver is currently following. |
Set<Lane> |
getCurrentlyOccupiedLanes()
Get the lanes the driver's vehicle currently occupies. |
Road |
getDestination()
Get where this driver is going. |
SpawnPoint |
getSpawnPoint()
Get where this driver is coming from. |
VehicleDriverView |
getVehicle()
Get the Vehicle this DriverAgent is controlling. |
void |
setCurrentLane(Lane lane)
Set the Lane the driver is currently following. |
void |
setDestination(Road destination)
Set where this driver is going. |
void |
setSpawnPoint(SpawnPoint spawnPoint)
Set where this driver agent is coming from. |
Method Detail |
---|
void act()
VehicleDriverView getVehicle()
Lane getCurrentLane()
Set<Lane> getCurrentlyOccupiedLanes()
void setCurrentLane(Lane lane)
lane
- the Lane the driver should followSpawnPoint getSpawnPoint()
void setSpawnPoint(SpawnPoint spawnPoint)
spawnPoint
- the spawn point that generated the driverRoad getDestination()
void setDestination(Road destination)
destination
- the Road where this driver should go
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |