| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs according to some prescription.
|
| org.opentrafficsim.core.network.factory.xml.units |
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Constructor and Description |
|---|
TemplateGTUType(String id,
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> lengthDist,
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> widthDist,
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> maximumSpeedDist,
OTSDEVSSimulatorInterface simulator) |
| Modifier and Type | Method and Description |
|---|---|
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> |
AbstractGTUGenerator.getInitialSpeedDist() |
DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> |
GTUGeneratorIndividual.getMaximumSpeedDist() |
abstract DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> |
AbstractGTUGenerator.getMaximumSpeedDist() |
| 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) |
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) |
| Modifier and Type | Method and Description |
|---|---|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.LengthUnit> |
Distributions.parseLengthDistAbs(String s)
Parse an absolute length distribution, e.g.
|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.SpeedUnit> |
Distributions.parseSpeedDistAbs(String s)
Parse an absolute speed distribution, e.g.
|
static DistContinuousDoubleScalar.Abs<org.djunits.unit.TimeUnit> |
Distributions.parseTimeDistAbs(String s)
Parse an absolute time distribution, e.g.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.