| 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.core.network.route |
Routes and route probabilities.
|
| org.opentrafficsim.importexport.osm |
OpenStreetMap import.
|
| org.opentrafficsim.importexport.osm.output |
OpenStreetMap output.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.getGtuType() |
| Modifier and Type | Method and Description |
|---|---|
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder<ID> |
LaneBasedIndividualCar.LaneBasedIndividualCarBuilder.setGtuType(GTUType<ID> gtuType) |
| 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<ID> |
TemplateGTUType.getGtuType() |
GTUType<?> |
GTU.getGTUType() |
GTUType<?> |
AbstractGTU.getGTUType() |
static <ID> GTUType<ID> |
GTUType.makeGTUType(ID id)
Construct a new GTUType or (if it already exists) return an existing GTUType.
|
| Constructor and Description |
|---|
AbstractGTU(ID id,
GTUType<?> gtuType,
Route route) |
| Modifier and Type | Method and Description |
|---|---|
GTUType<ID> |
AbstractGTUGenerator.getGtuType() |
| Modifier and Type | Field and Description |
|---|---|
static GTUType<String> |
LaneBlock.BLOCK_GTU
blocking GTU type.
|
| Modifier and Type | Method and Description |
|---|---|
GTUType<?> |
AbstractLaneBasedTemplateGTU.getGTUType() |
| Constructor and Description |
|---|
AbstractLaneBasedGTU(ID id,
GTUType<?> gtuType,
GTUFollowingModel gtuFollowingModel,
LaneChangeModel laneChangeModel,
Map<Lane,DoubleScalar.Rel<LengthUnit>> initialLongitudinalPositions,
DoubleScalar.Abs<SpeedUnit> initialSpeed,
Route route,
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,
Route route,
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.addCompatibility(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 | Method and Description |
|---|---|
DoubleScalar.Rel<LengthUnit> |
Route.suitability(Lane lane,
DoubleScalar.Rel<LengthUnit> longitudinalPosition,
GTUType<?> gtuType,
DoubleScalar.Rel<TimeUnit> timeHorizon)
Determine the suitability of being at a particular longitudinal position in a particular Lane for following this Route.
|
| Modifier and Type | Field and Description |
|---|---|
static GTUType<String> |
PredefinedGTUTypes.BIKE
Bicycle.
|
static GTUType<String> |
PredefinedGTUTypes.BOAT
Boat.
|
static GTUType<String> |
PredefinedGTUTypes.CAR
Car.
|
static GTUType<String> |
PredefinedGTUTypes.PEDESTRIAN
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.