public interface Policy
Modifier and Type | Method and Description |
---|---|
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.
|
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()
Copyright © 2013. All rights reserved.