Package | Description |
---|---|
org.opentrafficsim.road.car |
Classes that extend the GTU to car behavior.
|
org.opentrafficsim.road.gtu.generator |
Generate GTUs according to some prescription.
|
org.opentrafficsim.road.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that travel in lanes,
and need to switch lanes to overtake.
|
org.opentrafficsim.road.gtu.lane.changing |
Classes that deal with lane changing models.
|
org.opentrafficsim.road.network.factory.xml |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
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,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer)
Construct a new LaneBasedIndividualCar.
|
Modifier and Type | Method and Description |
---|---|
LaneChangeModel |
AbstractGTUGenerator.getLaneChangeModel() |
Constructor and Description |
---|
AbstractGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
GTUGeneratorIndividual(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> initialSpeedDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Time.Rel,org.djunits.unit.TimeUnit> interarrivelTimeDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> lengthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length.Rel,org.djunits.unit.LengthUnit> widthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Speed,org.djunits.unit.SpeedUnit> maximumSpeedDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time.Abs startTime,
org.djunits.value.vdouble.scalar.Time.Abs endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
ListGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel position,
LaneBasedRouteGenerator routeGenerator,
org.opentrafficsim.core.gtu.animation.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,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(String id,
org.opentrafficsim.core.gtu.GTUType gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
org.djunits.value.vdouble.scalar.Length.Rel length,
org.djunits.value.vdouble.scalar.Length.Rel width,
org.djunits.value.vdouble.scalar.Speed maximumVelocity,
LaneBasedRouteNavigator routeNavigator,
org.opentrafficsim.core.dsol.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 |
---|---|
(package private) LaneChangeModel |
GTUTag.laneChangeModel
lane change model.
|
Modifier and Type | Method and Description |
---|---|
(package private) static LaneChangeModel |
GTUTag.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.