Uses of Class
org.opentrafficsim.core.gtu.GTUDirectionality
-
Packages that use GTUDirectionality 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. -
-
Uses of GTUDirectionality in org.opentrafficsim.core.compatibility
Methods in org.opentrafficsim.core.compatibility with parameters of type GTUDirectionality Modifier and Type Method Description Boolean
Compatibility. isCompatible(G gtuType, GTUDirectionality directionality)
Test if a GTUType can travel over the infrastructure.boolean
Compatible. isCompatible(GTUType gtuType, GTUDirectionality directionality)
Test if a GTUType is handled by the infrastructure in the given direction.Boolean
GTUCompatibility. isCompatible(GTUType gtuType, GTUDirectionality directionality)
Determine if this Compatibility allows or denies a particular GTUType. -
Uses of GTUDirectionality in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that return GTUDirectionality Modifier and Type Method 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. -
Uses of GTUDirectionality in org.opentrafficsim.core.gtu.plan.strategical
Methods in org.opentrafficsim.core.gtu.plan.strategical with parameters of type GTUDirectionality Modifier and Type Method 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. -
Uses of GTUDirectionality in org.opentrafficsim.core.network
Methods in org.opentrafficsim.core.network that return GTUDirectionality Modifier and Type Method Description GTUDirectionality
LinkDirection. getDirection()
Methods in org.opentrafficsim.core.network that return types with arguments of type GTUDirectionality Modifier and Type Method Description ImmutableSet<GTUDirectionality>
LongitudinalDirectionality. getDirectionalities()
Retrieve the permitted driving directions.Methods in org.opentrafficsim.core.network with parameters of type GTUDirectionality Modifier and Type Method 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.Constructors in org.opentrafficsim.core.network with parameters of type GTUDirectionality Constructor Description DirectedLinkPosition(Link link, double fractionalLongitudinalPosition, GTUDirectionality direction)
DirectedLinkPosition(Link link, Length position, GTUDirectionality direction)
LinkDirection(Link link, GTUDirectionality direction)
-