|
|||||||||
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 Sig1JunctionModel
public void pretick()
pretick
in interface Timed
pretick
in class Sig1JunctionModel
public void preticknonactuated()
public void pretickactuated()
public void tick()
tick
in interface Timed
tick
in class Sig1JunctionModel
public void resetLights(int greenSide, int timerTime)
resetLights
in class Sig1JunctionModel
public java.lang.String giveInfo()
giveInfo
in class Sig1JunctionModel
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |