com.azalient.api.b.parameters
Interface IMotorCalibration

All Superinterfaces:
IFollowingAlgorithm, IFreeMovingAlgorithm, IRecord, RecordR, RecordRW, RecordW, SortableData

public interface IMotorCalibration
extends IFollowingAlgorithm, IFreeMovingAlgorithm, RecordRW

The motor calibration object provides access to the car-following and lane-changing calibration parameters.


Nested Class Summary
static class IMotorCalibration.FollowingModel
          An enumeration of car-following models.
 
Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 boolean allowUnreleased()
          If true then VehicleRouter.laneOK() checks if there is space and does not release a vehicle if not
If false then a vehicle will be released behind the last vehicle on the link, which may result in vehicles being released a long distance back from the start of the lane.
 boolean avoidance()
          Is avoidance on for all roads on the model? If true, this overrides per-lane settings.
 void destroy(IMotor motor)
          Delete any references to this motor
 boolean driveOnRight()
          Does traffic drive on the right.
 IMotorCalibration.FollowingModel followingModel()
          The default following model, if not modified by lane or route class
 Distance intersectionLookAhead()
          The distance downstream from the current position that a driver will look for intersections, to decide which lane to use
 Speed stopSpeedHi()
          The higher of two speeds which define a stop for stop counting.
 Speed stopSpeedLo()
          The lower of two speeds which define a stop for stop counting.
 boolean streamFriction()
          True if there is friction between streams when merging
 
Methods inherited from interface com.azalient.api.sim.agents.IFollowingAlgorithm
followingAcceleration, followingLookAheadMaxAngle, followingLookAheadMaxDeltaHeading, followingLookAheadMaxDistanceM, useFollowingAngles
 
Methods inherited from interface com.azalient.api.sim.agents.IFreeMovingAlgorithm
freeMovingDeltaHeading, freeMovingForwardAcceleration, freeMovingJink
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

driveOnRight

boolean driveOnRight()
Does traffic drive on the right. True for U.S, Europe, etc, False for UK, Japan, ANZ, India, etc


avoidance

boolean avoidance()
Is avoidance on for all roads on the model? If true, this overrides per-lane settings.


allowUnreleased

boolean allowUnreleased()
If true then VehicleRouter.laneOK() checks if there is space and does not release a vehicle if not
If false then a vehicle will be released behind the last vehicle on the link, which may result in vehicles being released a long distance back from the start of the lane.

You can set this to false if you want there to be no unreleased vehicles in the model.


streamFriction

boolean streamFriction()
True if there is friction between streams when merging


intersectionLookAhead

Distance intersectionLookAhead()
The distance downstream from the current position that a driver will look for intersections, to decide which lane to use


stopSpeedLo

Speed stopSpeedLo()
The lower of two speeds which define a stop for stop counting. From an initial rest state, a vehicle must rise above the higher speed then drop below this lower speed for a stop to be counted. drop below this speed for a stop to be counted, then


stopSpeedHi

Speed stopSpeedHi()
The higher of two speeds which define a stop for stop counting. From an initial rest state, a vehicle must rise above this higher speed then drop below the lower speed for a stop to be counted. drop below this speed for a stop to be counted, then


destroy

void destroy(IMotor motor)
Delete any references to this motor


followingModel

IMotorCalibration.FollowingModel followingModel()
The default following model, if not modified by lane or route class