Class AdaptiveSig2JunModel

java.lang.Object
  |
  +--JunctionModel
        |
        +--Sig1JunctionModel
              |
              +--Sig2JunctionModel
                    |
                    +--AdaptiveSig2JunModel
All Implemented Interfaces:
Timed

public class AdaptiveSig2JunModel
extends Sig2JunctionModel
implements Timed


Fields inherited from class JunctionModel
ei, endLanesID, iD, junctionShape, maxNum, parent, paths, pi, si, startLanesID, ticker, totalNumPaths
 
Constructor Summary
AdaptiveSig2JunModel(int iD, java.awt.Shape s, int lighttime, boolean actuated, RoadNetwork parent)
           
 
Method Summary
 java.lang.String giveInfo()
          Due to mouse Events
 void pretick()
           
 void tick()
           
 
Methods inherited from class Sig2JunctionModel
generatePaths, pretickactuated, preticknonactuated, resetLights
 
Methods inherited from class Sig1JunctionModel
drawJunctionFeatures, getNextLightSet, getNextValidLightSet, isOKToGo, isSignalled
 
Methods inherited from class JunctionModel
addEndLane, addStartLane, addToTimer, convertToArrayConvienient, createAnyLeft, createAnyOpposite, createAnyRight, createcorrespondingLeft, createcorrespondingRight, createLeftTurns, createPathBetween, createPathBetween, createPathToOppositeSide, createRightTurns, drawAllCars, getAnOpositeLaneFromEdge, getAnOpositeLaneFromJunction, getAnyOutputLane, getCar, getCenter, getID, getLeftDir, getLightsFrom, getLightsTo, getnextLane, getOpDir, getRightDir, getsharedPath, getSpeeds, hasInputOf, isOnLeftSide, isOnMapEdge, isOnRightSide, kill, receiveCar, testForLiveness
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptiveSig2JunModel

public AdaptiveSig2JunModel(int iD,
                            java.awt.Shape s,
                            int lighttime,
                            boolean actuated,
                            RoadNetwork parent)
Method Detail

pretick

public void pretick()
Specified by:
pretick in interface Timed
Overrides:
pretick in class Sig2JunctionModel

tick

public void tick()
Specified by:
tick in interface Timed
Overrides:
tick in class Sig2JunctionModel

giveInfo

public java.lang.String giveInfo()
Due to mouse Events

Overrides:
giveInfo in class Sig2JunctionModel