|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IAgentLocator
The agent-locator object chooses a location for a new agent. This process is more complex for a vehicle, especially on multi-lane links, as there may be rules governing which lane is best
| Method Summary | |
|---|---|
int |
bay()
[Vehicles Only] Returns the parking bay number, if the new vehicles is parked |
IXyz |
centre()
[Vehicles Only] Returns the position for new (vehicle) agent |
ILane |
lane()
[Vehicles Only] Returns the initial lane |
int |
laneHigh()
[Vehicles Only] Returns the high end of the lane range, 1..N |
int |
laneLow()
[Vehicles Only] Returns the low end of the lane range, 1..N |
int |
nextlane()
[Vehicles Only] Returns the lane on the subsequent link. |
Speed |
speed()
Returns the initial speed of the agent |
| Method Detail |
|---|
Speed speed()
ILane lane()
int nextlane()
int laneLow()
int laneHigh()
int bay()
IXyz centre()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||