| Package | Description |
|---|---|
| org.opentrafficsim.core.car |
Classes that extend the GTU to car behavior.
|
| org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
| org.opentrafficsim.core.gtu.generator |
Generate GTUs.
|
| org.opentrafficsim.core.gtu.lane |
The lane-based GTUs are the Generalized Travel Units that stay in lanes,
and need to switch lanes to overtake.
|
| org.opentrafficsim.core.network.factory |
Factories for Links, Lanes, Nodes.
|
| org.opentrafficsim.core.network.lane |
Classes that provide detailed cross-sections of a link using lanes, markers and sensors.
|
| org.opentrafficsim.importexport.osm |
OpenStreetMap import.
|
| org.opentrafficsim.importexport.osm.output |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setGtuType(GTUType<ID> gtuType) |
| Constructor and Description |
|---|
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator) |
LaneBasedIndividualCar(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator,
Class<? extends Renderable2D> animationClass)
Construct a new LaneBasedIndividualCar.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TemplateGTUType<ID>
Copyright (c) 2013-2014 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands.
|
| Modifier and Type | Field and Description |
|---|---|
static GTUType<String> |
GTUType.ALL
ALL GTUType to be used only for permeability and accessibility.
|
static GTUType<String> |
GTUType.NONE
NONE GTUType to be used only for permeability and accessibility.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType<?> |
GTU.getGTUType() |
GTUType<?> |
AbstractGTU.getGTUType() |
| Constructor and Description |
|---|
AbstractGTU(ID id,
GTUType<?> gtuType) |
| Modifier and Type | Method and Description |
|---|---|
GTUType<ID> |
AbstractGTUGenerator.getGtuType() |
| Constructor and Description |
|---|
AbstractGTUGenerator(String name,
OTSDEVSSimulatorInterface simulator,
GTUType<ID> gtuType,
Class<GTU<ID>> gtuClass,
GTUFollowingModel gtuFollowingModel,
DistContinuousDoubleScalar.Abs<SpeedUnit> initialSpeedDist,
DistContinuousDoubleScalar.Rel<TimeUnit> interarrivelTimeDist,
long maxGTUs,
OTSSimTimeDouble startTime,
OTSSimTimeDouble endTime,
Lane lane) |
GTUGeneratorIndividual(String name,
OTSDEVSSimulatorInterface simulator,
GTUType<ID> gtuType,
Class<GTU<ID>> gtuClass,
GTUFollowingModel gtuFollowingModel,
DistContinuousDoubleScalar.Abs<SpeedUnit> initialSpeedDist,
DistContinuousDoubleScalar.Rel<TimeUnit> interarrivelTimeDist,
DistContinuousDoubleScalar.Rel<LengthUnit> lengthDist,
DistContinuousDoubleScalar.Rel<LengthUnit> widthDist,
DistContinuousDoubleScalar.Abs<SpeedUnit> maximumSpeedDist,
long maxGTUs,
OTSSimTimeDouble startTime,
OTSSimTimeDouble endTime,
Lane lane) |
| Constructor and Description |
|---|
AbstractLaneBasedGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
OTSDEVSSimulatorInterface simulator)
Construct a Lane Based GTU.
|
AbstractLaneBasedIndividualGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
DoubleScalar.Rel<LengthUnit> length,
DoubleScalar.Rel<LengthUnit> width,
DoubleScalar.Abs<SpeedUnit> maximumVelocity,
OTSDEVSSimulatorInterface simulator)
Construct a new AbstractLaneBasedIndividualGTU.
|
| Modifier and Type | Field and Description |
|---|---|
protected GTUType<String> |
XmlNetworkLaneParser.GTUTag.gtuType
type.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,GTUType<String>> |
XmlNetworkLaneParser.gtuTypes
the GTUTypes that have been created.
|
| Modifier and Type | Method and Description |
|---|---|
protected GTUType<String> |
XmlNetworkLaneParser.parseGTUType(String typeName) |
| Modifier and Type | Method and Description |
|---|---|
Set<Lane> |
Lane.accessibleAdjacentLanes(LateralDirectionality lateralDirection,
GTUType<?> gtuType)
Determine the set of lanes to the left or to the right of this lane, which are accessible from this lane, or an
empty set if no lane could be found.
|
void |
LaneType.addPermeability(GTUType<?> gtuType) |
void |
RoadMarkerAlong.addPermeability(GTUType<?> gtuType,
LateralDirectionality lateralDirection)
Add lateral permeability for a GTU type in the direction of the design line of the overarching CrossSectionLink.
|
void |
Stripe.addPermeability(GTUType<?> gtuType,
Stripe.Permeable permeable) |
Lane |
Lane.bestAccessibleAdjacentLane(LateralDirectionality lateralDirection,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType)
Determine whether there is a lane to the left or to the right of this lane, which is accessible from this lane,
or null if no lane could be found.
|
boolean |
LaneType.isCompatible(GTUType<?> gtuType) |
boolean |
RoadMarkerAlong.isPermeable(GTUType<?> gtuType,
LateralDirectionality lateralDirection) |
| Constructor and Description |
|---|
Stripe(CrossSectionLink<?,?> parentLink,
DoubleScalar.Rel<LengthUnit> lateralCenterPosition,
DoubleScalar.Rel<LengthUnit> width,
Set<GTUType<?>> gtuTypes,
Stripe.Permeable permeable)
Helper constructor that immediately provides permeability for a number of GTU classes.
Note: LEFT is seen as a positive lateral direction, RIGHT as a negative lateral direction, with the direction from the StartNode towards the EndNode as the longitudinal direction. |
| Modifier and Type | Field and Description |
|---|---|
static GTUType<String> |
PredefinedGTUTypes.bike |
static GTUType<String> |
PredefinedGTUTypes.car |
static GTUType<String> |
PredefinedGTUTypes.pedestrian |
| Modifier and Type | Method and Description |
|---|---|
static LaneType<String> |
Convert.makeLaneType(GTUType<String> gtuType)
This method creates a LaneType which supports the specified GTUType.
|
| Modifier and Type | Method and Description |
|---|---|
static LaneType<String> |
Convert.makeLaneType(List<GTUType<String>> gtuTypes)
This method creates a LaneType which supports all GTUTypes that have been specified in the GTUType List "GTUs".
|
Copyright © 2014–2015 Delft University of Technology. All rights reserved.