|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Policy
An interface for intersection control policies for V2IManagers.
| Method Summary | |
|---|---|
void |
act(double timeStep)
Give the policy a chance to do any processing it might need to do in order to respond to requests, if it hasn't responded to them already. |
StatCollector<?> |
getStatCollector()
Get the statistic collector. |
void |
processV2IMessage(V2IMessage msg)
Process a V2I message |
void |
setV2IManagerCallback(V2IManagerCallback im)
Set the V2I manager call-back. |
| Method Detail |
|---|
void setV2IManagerCallback(V2IManagerCallback im)
im - the V2I manager's call-backvoid act(double timeStep)
timeStep - the size of the time step to simulate, in secondsvoid processV2IMessage(V2IMessage msg)
msg - the V2I messageStatCollector<?> getStatCollector()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||