| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that stay in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.gtu.lane.changing |
Classes that deal with lane changing models.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| Constructor and Description |
|---|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator,
Class<? extends Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
| Constructor and Description |
|---|
AbstractLaneBasedGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator)
Construct a new AbstractLaneBasedIndividualGTU.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractLaneChangeModel
Common code for a family of lane change models like in M.
|
class |
Altruistic
The altruistic driver changes lane when that is beneficial for all drivers.
|
class |
Egoistic
The egoistic drive changes lane when this yields is personal advantage (totally ignoring any disadvantage to others).
|
class |
FixedLaneChangeModel
Dummy lane change model with totally predictable results (used for testing).
|
| Modifier and Type | Field and Description |
|---|---|
protected LaneChangeModel |
XmlNetworkLaneParser.GTUTag.laneChangeModel
lane change model.
|
| Modifier and Type | Method and Description |
|---|---|
protected LaneChangeModel |
XmlNetworkLaneParser.parseLaneChangeModel(String modelName)
XXX probably ok to generate a new model for each GTU 'type'.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.