Package | Description |
---|---|
org.opentrafficsim.core.compatibility |
Compatibility package.
|
org.opentrafficsim.core.gtu |
GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.
|
org.opentrafficsim.core.gtu.plan.strategical |
Strategical planners.
|
org.opentrafficsim.core.network |
Classes that build a network with nodes, links, and cross-sections.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
Compatibility.isCompatible(G gtuType,
GTUDirectionality directionality)
Test if a GTUType can travel over the infrastructure.
|
Boolean |
GTUCompatibility.isCompatible(GTUType gtuType,
GTUDirectionality directionality)
Determine if this Compatibility allows or denies a particular GTUType.
|
boolean |
Compatible.isCompatible(GTUType gtuType,
GTUDirectionality directionality)
Test if a GTUType is handled by the infrastructure in the given direction.
|
Modifier and Type | Method and Description |
---|---|
GTUDirectionality |
GTUDirectionality.flip()
Returns the flipped direction.
|
static GTUDirectionality |
GTUDirectionality.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GTUDirectionality[] |
GTUDirectionality.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
LinkDirection |
StrategicalPlanner.nextLinkDirection(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next link and driving direction (with or against the design line) in a network based on a current Link we
are on.
|
Node |
StrategicalPlanner.nextNode(Link link,
GTUDirectionality direction,
GTUType gtuType)
Determine the next node in a network based on a current Link we are on.
|
Modifier and Type | Method and Description |
---|---|
GTUDirectionality |
LinkDirection.getDirection() |
Modifier and Type | Method and Description |
---|---|
ImmutableSet<GTUDirectionality> |
LongitudinalDirectionality.getDirectionalities()
Retrieve the permitted driving directions.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
LinkType.isCompatible(GTUType gtuType,
GTUDirectionality directionality)
Test if a GTUType can travel over the infrastructure.
|
boolean |
LongitudinalDirectionality.permits(GTUDirectionality direction)
Check if a direction is permitted by this LongitudinalDirectionality.
|
Constructor and Description |
---|
DirectedLinkPosition(Link link,
double fractionalLongitudinalPosition,
GTUDirectionality direction) |
DirectedLinkPosition(Link link,
Length position,
GTUDirectionality direction) |
LinkDirection(Link link,
GTUDirectionality direction) |
Copyright © 2014–2019 Delft University of Technology. All rights reserved.