| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs according to some prescription.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.gtu.lane.changing |
Classes that deal with lane changing models.
|
| Modifier and Type | Method and Description |
|---|---|
LaneChangeModel |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getLaneChangeModel() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setLaneChangeModel(LaneChangeModel laneChangeModel) |
| Constructor and Description |
|---|
LaneBasedIndividualCar(String id,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit>> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeed,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> length,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> width,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(String id,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit>> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeed,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> length,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> width,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
OTSDEVSSimulatorInterface simulator,
Class<? extends Renderable2D> animationClass,
GTUColorer gtuColorer)
Construct a new LaneBasedIndividualCar.
|
| Modifier and Type | Method and Description |
|---|---|
LaneChangeModel |
AbstractGTUGenerator.getLaneChangeModel() |
| Constructor and Description |
|---|
AbstractGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeedDist,
DistContinuousDoubleScalar.Rel<org.djunits.unit.TimeUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> startTime,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> endTime,
Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer) |
GTUGeneratorIndividual(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeedDist,
DistContinuousDoubleScalar.Rel<org.djunits.unit.TimeUnit> interarrivelTimeDist,
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> lengthDist,
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> widthDist,
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> maximumSpeedDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> startTime,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.TimeUnit> endTime,
Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer) |
ListGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> position,
LaneBasedRouteGenerator routeGenerator,
GTUColorer gtuColorer,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
| Constructor and Description |
|---|
AbstractLaneBasedGTU(String id,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit>> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeed,
LaneBasedRouteNavigator routeNavigator,
OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(String id,
GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit>> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> initialSpeed,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> length,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> width,
org.djunits.value.vdouble.scalar.DoubleScalar.Abs<org.djunits.unit.SpeedUnit> maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
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).
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.