Package | Description |
---|---|
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.strategical |
Strategical planners for a road-based GTU.
|
org.opentrafficsim.road.gtu.strategical.route |
Route planners as part of strategical planning.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> |
AbstractGTUGenerator.getStrategicalPlannerFactory() |
Constructor and Description |
---|
ListGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlanner strategicalPlanner,
org.opentrafficsim.core.network.OTSNetwork network,
String fileName)
Construct a GTU generator that takes the times to generate another GTU from an external source.
|
Constructor and Description |
---|
AbstractGTUGenerator(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
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.Duration,org.djunits.unit.DurationUnit> interarrivelTimeDist,
long maxGTUs,
org.djunits.value.vdouble.scalar.Time startTime,
org.djunits.value.vdouble.scalar.Time endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> strategicalPlannerFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
org.opentrafficsim.core.network.OTSNetwork network) |
GTUGeneratorIndividual(String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
org.opentrafficsim.core.gtu.GTUType gtuType,
Class<?> gtuClass,
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.Duration,org.djunits.unit.DurationUnit> interarrivelTimeDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,org.djunits.unit.LengthUnit> lengthDist,
org.opentrafficsim.core.units.distributions.ContinuousDistDoubleScalar.Rel<org.djunits.value.vdouble.scalar.Length,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 startTime,
org.djunits.value.vdouble.scalar.Time endTime,
Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.gtu.GTUDirectionality direction,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> strategicalPlannerFactory,
org.opentrafficsim.core.network.route.RouteGenerator routeGenerator,
org.opentrafficsim.core.network.OTSNetwork network) |
Modifier and Type | Method and Description |
---|---|
LaneBasedStrategicalPlanner |
LaneBasedGTU.getStrategicalPlanner() |
LaneBasedStrategicalPlanner |
AbstractLaneBasedGTU.getStrategicalPlanner() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractLaneBasedGTU.init(LaneBasedStrategicalPlanner strategicalPlanner,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed) |
void |
LaneBasedIndividualGTU.initWithAnimation(LaneBasedStrategicalPlanner strategicalPlanner,
Set<DirectedLanePosition> initialLongitudinalPositions,
org.djunits.value.vdouble.scalar.Speed initialSpeed,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer) |
Modifier and Type | Method and Description |
---|---|
LaneBasedIndividualGTU |
LaneBasedIndividualGTU.LaneBasedIndividualCarBuilder.build(LaneBasedStrategicalPlannerFactory<? extends LaneBasedStrategicalPlanner> laneBasedStrategicalPlannerFactory,
org.opentrafficsim.core.network.route.Route route)
Build one LaneBasedIndividualCar.
|
Modifier and Type | Interface and Description |
---|---|
interface |
LaneBasedStrategicalPlannerFactory<T extends LaneBasedStrategicalPlanner>
A factory class is used to generate strategical planners as the strategical planner is state-full.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractLaneBasedStrategicalPlanner
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
class |
LaneBasedStrategicalPlannerNone
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
Modifier and Type | Class and Description |
---|---|
class |
LaneBasedStrategicalRoutePlanner
Strategical planner, route-based, with personal driving characteristics, which contain settings for the tactical planner.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedStrategicalPlanner |
LaneBasedStrategicalRoutePlannerFactory.create(LaneBasedGTU gtu,
org.opentrafficsim.core.network.route.Route route)
Creates a new strategical planner for the given GTU.
|
Copyright © 2014–2017 Delft University of Technology. All rights reserved.