Package | Description |
---|---|
org.opentrafficsim.road.car |
Classes that extend the GTU to car behavior.
|
org.opentrafficsim.road.gtu.following |
GTU (Car) following models such as IDM+.
|
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.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 |
---|---|
GTUFollowingModel |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getGtuFollowingModel() |
Modifier and Type | Method and Description |
---|---|
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setGTUFollowingModel(GTUFollowingModel gtuFollowingModel) |
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.
|
LaneBasedTemplateCar(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator) |
LaneBasedTemplateCar(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGtuType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractGTUFollowingModel
Code shared between various car following models.
|
class |
FixedAccelerationModel
Fixed GTU following model.
|
class |
IDM
The Intelligent Driver Model by Treiber, Hennecke and Helbing.
|
class |
IDMPlus
IDMPlus implements the Integrated Lane Change Model with Relaxation and Synchronization as published by Wouter J.
|
class |
SequentialFixedAccelerationModel
Extended version of FixedAccelerationModel.
|
Modifier and Type | Method and Description |
---|---|
GTUFollowingModel |
AbstractGTUGenerator.getGtuFollowingModel() |
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.
|
Modifier and Type | Method and Description |
---|---|
GTUFollowingModel |
LaneBlock.getGTUFollowingModel()
Retrieve the GTU following model of this LaneBasedGTU.
|
GTUFollowingModel |
LaneBasedGTU.getGTUFollowingModel()
Retrieve the GTU following model of this LaneBasedGTU.
|
GTUFollowingModel |
AbstractTrafficLight.getGTUFollowingModel()
Retrieve the GTU following model of this LaneBasedGTU.
|
GTUFollowingModel |
AbstractLaneBasedGTU.getGTUFollowingModel()
Retrieve the GTUFollowingModel of this GTU.
|
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.
|
AbstractLaneBasedTemplateGTU(String id,
org.opentrafficsim.core.gtu.TemplateGTUType templateGTUType,
GTUFollowingModel gtuFollowingModel,
Map<Lane,org.djunits.value.vdouble.scalar.Length.Rel> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
CompleteLaneBasedRouteNavigator routeNavigator) |
Modifier and Type | Field and Description |
---|---|
(package private) GTUFollowingModel |
GTUTag.followingModel
GTU following model.
|
Modifier and Type | Method and Description |
---|---|
(package private) static GTUFollowingModel |
GTUTag.parseFollowingModel(String modelName)
XXX probably ok to generate a new model for each GTU 'type'.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.