| 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) |
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.Rel<org.djunits.unit.TimeUnit> |
AbstractGTUGenerator.getInterarrivelTimeDist() |
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> |
GTUGeneratorIndividual.getLengthDist() |
abstract DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> |
AbstractGTUGenerator.getLengthDist() |
DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> |
GTUGeneratorIndividual.getWidthDist() |
abstract DistContinuousDoubleScalar.Rel<org.djunits.unit.LengthUnit> |
AbstractGTUGenerator.getWidthDist() |
| 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) |
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.Rel<org.djunits.unit.LengthUnit> |
Distributions.parseLengthDistRel(String s)
Parse a relative length distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<org.djunits.unit.SpeedUnit> |
Distributions.parseSpeedDistRel(String s)
Parse a relative speed distribution, e.g.
|
static DistContinuousDoubleScalar.Rel<org.djunits.unit.TimeUnit> |
Distributions.parseTimeDistRel(String s)
Parse a relative time distribution, e.g.
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.