|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--JunctionModel
|
+--Sig1JunctionModel
|
+--Sig2JunctionModel
| Fields inherited from class JunctionModel |
ei, endLanesID, iD, junctionShape, maxNum, parent, paths, pi, si, startLanesID, ticker, totalNumPaths |
| Constructor Summary | |
Sig2JunctionModel(int iD,
java.awt.Shape s,
int lighttime,
boolean actuated,
RoadNetwork parent)
|
|
| Method Summary | |
void |
generatePaths()
|
java.lang.String |
giveInfo()
Due to mouse Events |
void |
pretick()
|
void |
pretickactuated()
|
void |
preticknonactuated()
|
void |
resetLights(int greenSide,
int timerTime)
|
void |
tick()
|
| Methods inherited from class Sig1JunctionModel |
drawJunctionFeatures, getNextLightSet, getNextValidLightSet, isOKToGo, isSignalled |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Sig2JunctionModel(int iD,
java.awt.Shape s,
int lighttime,
boolean actuated,
RoadNetwork parent)
| Method Detail |
public void generatePaths()
generatePaths in class Sig1JunctionModelpublic void pretick()
pretick in interface Timedpretick in class Sig1JunctionModelpublic void preticknonactuated()
public void pretickactuated()
public void tick()
tick in interface Timedtick in class Sig1JunctionModel
public void resetLights(int greenSide,
int timerTime)
resetLights in class Sig1JunctionModelpublic java.lang.String giveInfo()
giveInfo in class Sig1JunctionModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||