Uses of Interface
org.planit.utils.network.physical.LinkSegment
-
Packages that use LinkSegment Package Description org.planit.cost.physical Contains the definition of physical cost classesorg.planit.cost.physical.initial Initial Physical Cost objectsorg.planit.data Data used for calculation during iterations of the traffic assignmentorg.planit.input Top-level input classes and interfacesorg.planit.interactor Interfaces which must be implemented by event accessor classesorg.planit.network.physical Physical network component object classesorg.planit.network.physical.macroscopic Macroscopic physical network component object classesorg.planit.output.adapter Output Adapter and Output Type Adapter classes and interfacesorg.planit.trafficassignment Traffic assignment classesorg.planit.utils.network.physical Physical network oriented utility classesorg.planit.utils.network.physical.macroscopic Macroscopic physical network oriented utility classes -
-
Uses of LinkSegment in org.planit.cost.physical
Methods in org.planit.cost.physical with parameters of type LinkSegment Modifier and Type Method Description double
BPRLinkTravelTimeCost. getSegmentCost(Mode mode, LinkSegment linkSegment)
Return the travel time for the current link for a given mode If the input data are invalid, this method returns a negative value. -
Uses of LinkSegment in org.planit.cost.physical.initial
Methods in org.planit.cost.physical.initial with parameters of type LinkSegment Modifier and Type Method Description double
InitialLinkSegmentCost. getSegmentCost(Mode mode, LinkSegment linkSegment)
Returns the initial cost for each link segment and modevoid
InitialLinkSegmentCost. setSegmentCost(Mode mode, LinkSegment linkSegment, double cost)
Sets the initial cost for each link segment and modeabstract void
InitialPhysicalCost. setSegmentCost(Mode mode, LinkSegment linkSegment, double cost)
Set the initial cost for a specified mode and link segment -
Uses of LinkSegment in org.planit.data
Methods in org.planit.data with parameters of type LinkSegment Modifier and Type Method Description double
TraditionalStaticAssignmentSimulationData. getTotalNetworkSegmentFlow(LinkSegment linkSegment)
Return the total flow through a link segment across all modes -
Uses of LinkSegment in org.planit.input
Methods in org.planit.input that return LinkSegment Modifier and Type Method Description LinkSegment
InputBuilderListener. getLinkSegmentByExternalId(Object externalId)
Returns the link segment for a given external IdMethods in org.planit.input with parameters of type LinkSegment Modifier and Type Method Description boolean
InputBuilderListener. addLinkSegmentToExternalIdMap(Object externalId, LinkSegment linkSegment)
Stores a link segment by its external Id -
Uses of LinkSegment in org.planit.interactor
Methods in org.planit.interactor with parameters of type LinkSegment Modifier and Type Method Description double
LinkVolumeAccessee. getTotalNetworkSegmentFlow(LinkSegment linkSegment)
Get the total flow across a link over all modes -
Uses of LinkSegment in org.planit.network.physical
Classes in org.planit.network.physical that implement LinkSegment Modifier and Type Class Description class
LinkSegmentImpl
Link segment object representing physical links in the network and storing their propertiesMethods in org.planit.network.physical that return LinkSegment Modifier and Type Method Description LinkSegment
PhysicalNetwork.LinkSegments. createDirectionalLinkSegment(Link parentLink, boolean directionAB)
Create directional link segmentLinkSegment
PhysicalNetworkBuilder. createLinkSegment(Link parentLink, boolean directionAB)
Create a new physical link segment instanceLinkSegment
PhysicalNetwork.LinkSegments. getLinkSegment(long id)
Get link segment by idLinkSegment
PhysicalNetwork.LinkSegments. getLinkSegmentByExternalId(Object externalId)
Retrieve a link segment by its external Id This method is not efficient, since it loops through all the registered modes in order to find the required link segment.LinkSegment
PhysicalNetwork.LinkSegments. getLinkSegmentByExternalId(Object externalId, boolean convertToLong)
Retrieve a link segment by its external Id This method has the option to convert the external Id parameter into a long value, to find the link segment type when link segment type objects use long values for external ids.LinkSegment
PhysicalNetwork.LinkSegments. getLinkSegmentByStartAndEndNodeId(long startId, long endId)
Find a LinkSegment by the external Ids of its start and end nodesLinkSegment
LinkImpl. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment.Methods in org.planit.network.physical that return types with arguments of type LinkSegment Modifier and Type Method Description Iterator<LinkSegment>
PhysicalNetwork.LinkSegments. iterator()
Iterator over available nodesMethods in org.planit.network.physical with parameters of type LinkSegment Modifier and Type Method Description LinkSegment
LinkImpl. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment.void
PhysicalNetwork.LinkSegments. registerLinkSegment(Link parentLink, LinkSegment linkSegment, boolean directionAB)
Register a link segmentprotected void
PhysicalNetwork.LinkSegments. registerLinkSegment(LinkSegment linkSegment)
Register a link segment on the network -
Uses of LinkSegment in org.planit.network.physical.macroscopic
Classes in org.planit.network.physical.macroscopic that implement LinkSegment Modifier and Type Class Description class
MacroscopicLinkSegmentImpl
Link segment for macroscopic transport networks.Methods in org.planit.network.physical.macroscopic that return LinkSegment Modifier and Type Method Description LinkSegment
MacroscopicNetworkBuilder. createLinkSegment(Link parentLink, boolean directionAB)
Create a new MacroscopicLinkSegment -
Uses of LinkSegment in org.planit.output.adapter
Methods in org.planit.output.adapter with parameters of type LinkSegment Modifier and Type Method Description protected double
LinkOutputTypeAdapterImpl. getCapacityPerLane(LinkSegment linkSegment)
Returns the value of the capacity per laneprotected Object
LinkOutputTypeAdapterImpl. getDownstreamNodeExternalId(LinkSegment linkSegment)
Returns the external Id of the downstream nodeprotected long
LinkOutputTypeAdapterImpl. getDownstreamNodeId(LinkSegment linkSegment)
Returns the Id of the downstream nodeprotected Object
LinkOutputTypeAdapterImpl. getDownstreamNodeLocation(LinkSegment linkSegment)
Returns the location of the downstream nodeprotected double
LinkOutputTypeAdapterImpl. getLength(LinkSegment linkSegment)
Returns the length of the current link segmentObject
LinkOutputTypeAdapter. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)
Return the value of a specified output property of a link segmentObject
LinkOutputTypeAdapterImpl. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)
Return the value of a specified output property of a link segment The DENSITY case should never be called for TraditionalStaticAssignment.Object
TraditionalStaticAssignmentLinkOutputTypeAdapter. getLinkOutputPropertyValue(OutputProperty outputProperty, LinkSegment linkSegment, Mode mode, TimePeriod timePeriod, double timeUnitMultiplier)
Return the value of a specified output property of a link segmentprotected Object
LinkOutputTypeAdapterImpl. getLinkSegmentExternalId(LinkSegment linkSegment)
Returns the external Id of the current link segmentprotected long
LinkOutputTypeAdapterImpl. getLinkSegmentId(LinkSegment linkSegment)
Returns the Id of the current link segmentprotected String
LinkOutputTypeAdapterImpl. getLinkType(LinkSegment linkSegment)
Return the link segment type of the current link segmentprotected double
LinkOutputTypeAdapterImpl. getMaximumDensity(LinkSegment linkSegment)
Returns the flow density of the current linkprotected double
LinkOutputTypeAdapterImpl. getMaximumSpeed(LinkSegment linkSegment, Mode mode)
Returns the maximum speed through the current link segmentprotected int
LinkOutputTypeAdapterImpl. getNumberOfLanes(LinkSegment linkSegment)
Returns the number of lanes of the current linkprotected Object
LinkOutputTypeAdapterImpl. getUpstreamNodeExternalId(LinkSegment linkSegment)
Returns the external Id of the upstream nodeprotected long
LinkOutputTypeAdapterImpl. getUpstreamNodeId(LinkSegment linkSegment)
Returns the Id of the upstream nodeprotected Object
LinkOutputTypeAdapterImpl. getUpstreamNodeLocation(LinkSegment linkSegment)
Returns the location of the upstream nodeboolean
LinkOutputTypeAdapter. isFlowPositive(LinkSegment linkSegment, Mode mode)
Returns true if there is a flow through the current specified link segment for the specified modeboolean
TraditionalStaticAssignmentLinkOutputTypeAdapter. isFlowPositive(LinkSegment linkSegment, Mode mode)
Returns true if there is a flow through the current specified link segment for the specified mode -
Uses of LinkSegment in org.planit.trafficassignment
Methods in org.planit.trafficassignment with parameters of type LinkSegment Modifier and Type Method Description double
TraditionalStaticAssignment. getTotalNetworkSegmentFlow(LinkSegment linkSegment)
#Get the total flow across a link over all modes -
Uses of LinkSegment in org.planit.utils.network.physical
Methods in org.planit.utils.network.physical that return LinkSegment Modifier and Type Method Description LinkSegment
Link. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment.Methods in org.planit.utils.network.physical with parameters of type LinkSegment Modifier and Type Method Description LinkSegment
Link. registerLinkSegment(LinkSegment linkSegment, boolean directionAB)
Register linkSegment. -
Uses of LinkSegment in org.planit.utils.network.physical.macroscopic
Subinterfaces of LinkSegment in org.planit.utils.network.physical.macroscopic Modifier and Type Interface Description interface
MacroscopicLinkSegment
Macroscopic traffic modeling oriented link segment
-