|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aim4.im.v2i.RequestHandler.ApproxStopSignRequestHandler
public class ApproxStopSignRequestHandler
The approximate stop sign request handler.
Field Summary | |
---|---|
static double |
DEFAULT_TIME_WINDOW_BEFORE_LAST_EXIT_VEHICLE
The time window before the last vehicle inside the intersection leaving the intersection such that other vehicles can consider entering the intersection. |
Constructor Summary | |
---|---|
ApproxStopSignRequestHandler()
|
Method Summary | |
---|---|
void |
act(double timeStep)
Let the request handler to act for a given time period. |
StatCollector<?> |
getStatCollector()
Get the statistic collector. |
void |
processRequestMsg(Request msg)
Process the request message. |
void |
setBasePolicyCallback(BasePolicyCallback basePolicy)
Set the base policy call-back. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double DEFAULT_TIME_WINDOW_BEFORE_LAST_EXIT_VEHICLE
Constructor Detail |
---|
public ApproxStopSignRequestHandler()
Method Detail |
---|
public void setBasePolicyCallback(BasePolicyCallback basePolicy)
setBasePolicyCallback
in interface RequestHandler
basePolicy
- the base policy's call-backpublic void act(double timeStep)
act
in interface RequestHandler
timeStep
- the time periodpublic void processRequestMsg(Request msg)
processRequestMsg
in interface RequestHandler
msg
- the request messagepublic StatCollector<?> getStatCollector()
getStatCollector
in interface RequestHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |