Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class BridgeJunctionModel

    java.lang.Object
      |
      +--JunctionModel
            |
            +--BridgeJunctionModel

All Implemented Interfaces:
  Timed

public class BridgeJunctionModel
extends JunctionModel
implements Timed

Field Summary
`protected int` | `priority1`
`protected int` | `priority2`

Fields inherited from class JunctionModel
`ei, endLanesID, iD, junctionShape, maxNum, parent, paths, pi, si, startLanesID, ticker, totalNumPaths`

Constructor Summary
`BridgeJunctionModel(int iD, int p1, int p2, java.awt.Shape s, RoadNetwork parent)`

Method Summary
`void` | `drawAllCars(java.awt.Graphics2D g2d)`
`void` | `generatePaths()`
`java.lang.String` | `giveInfo()` Due to mouse Events
`boolean` | `isOKToGo(Car car, double currentdist)`
`void` | `pretick()`
`void` | `tick()`

Methods inherited from class JunctionModel
`addEndLane, addStartLane, addToTimer, convertToArrayConvienient, createAnyLeft, createAnyOpposite, createAnyRight, createcorrespondingLeft, createcorrespondingRight, createLeftTurns, createPathBetween, createPathBetween, createPathToOppositeSide, createRightTurns, drawJunctionFeatures, getAnOpositeLaneFromEdge, getAnOpositeLaneFromJunction, getAnyOutputLane, getCar, getCenter, getID, getLeftDir, getLightsFrom, getLightsTo, getnextLane, getOpDir, getRightDir, getsharedPath, getSpeeds, hasInputOf, isOnLeftSide, isOnMapEdge, isOnRightSide, isSignalled, kill, receiveCar, testForLiveness`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### priority1

    protected int priority1

### priority2

    protected int priority2

Constructor Detail

### BridgeJunctionModel

    public BridgeJunctionModel(int iD,
                               int p1,
                               int p2,
                               java.awt.Shape s,
                               RoadNetwork parent)

Method Detail

### generatePaths

    public void generatePaths()

  Overrides:
    `generatePaths` in class `JunctionModel`

### drawAllCars

    public void drawAllCars(java.awt.Graphics2D g2d)

  Overrides:
    `drawAllCars` in class `JunctionModel`

### pretick

    public void pretick()

  Specified by:
    `pretick` in interface `Timed`
  Overrides:
    `pretick` in class `JunctionModel`

### tick

    public void tick()

  Specified by:
    `tick` in interface `Timed`
  Overrides:
    `tick` in class `JunctionModel`

### isOKToGo

    public boolean isOKToGo(Car car,
                            double currentdist)

  Specified by:
    `isOKToGo` in class `JunctionModel`

### giveInfo

    public java.lang.String giveInfo()

  Due to mouse Events
  Specified by:
    `giveInfo` in class `JunctionModel`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD