Uses of Class
org.planit.utils.misc.Pair
-
Packages that use Pair Package Description org.planit.algorithms.nodemodel Node model algorithms for PlanItorg.planit.algorithms.shortestpath Shortest Path algorithms for PlanItorg.planit.cost.physical Contains the definition of physical cost classesorg.planit.network.physical.macroscopic Macroscopic physical network component object classesorg.planit.route PLANit route classes -
-
Uses of Pair in org.planit.algorithms.nodemodel
Methods in org.planit.algorithms.nodemodel that return Pair Modifier and Type Method Description protected Pair<Double,Integer>
TampereNodeModel. findMostRestrictingOutLinkSegmentIndex()
Find most restricted unprocessed outgoing link segment based on the scaled sending flowsMethods in org.planit.algorithms.nodemodel with parameters of type Pair Modifier and Type Method Description protected void
TampereNodeModel. updateCapacityConstrainedInLinkSegments(Pair<Double,Integer> mostRestrictingOutLinkSegmentData)
Based on the most restricting out-link segment, determine the flow acceptance factor for all unprocessed in-link with non-zero (remaining) flows towards this out-link segmentprotected boolean
TampereNodeModel. updateDemandConstrainedInLinkSegments(Pair<Double,Integer> mostRestrictingOutLinkSegmentData)
protected void
TampereNodeModel. updateSets(Pair<Double,Integer> mostRestrictingOutLinkSegmentData)
Based on the outlink segment, we determine which in links are demand constrained (if any). -
Uses of Pair in org.planit.algorithms.shortestpath
Methods in org.planit.algorithms.shortestpath that return Pair Modifier and Type Method Description Pair<Double,EdgeSegment>[]
DijkstraShortestPathAlgorithm. executeOneToAll(Vertex currentOrigin)
Construct shortest paths from source node to all other nodes in the network based on directed LinkSegment edgesPair<Double,EdgeSegment>[]
ShortestPathAlgorithm. executeOneToAll(Vertex currentOrigin)
Construct shortest paths from source node to all other nodes in the network based on directed LinkSegment edges -
Uses of Pair in org.planit.cost.physical
Fields in org.planit.cost.physical declared as Pair Modifier and Type Field Description protected Pair<Double,Double>
BPRLinkTravelTimeCost. defaultParameters
Default alpha and beta values for all linksMethods in org.planit.cost.physical that return Pair Modifier and Type Method Description Pair<Double,Double>
BPRLinkTravelTimeCost.BPRParameters. getAlphaBetaParameters(Mode mode)
Retrieve Pair containing alpha and beta values for a specified mode -
Uses of Pair in org.planit.network.physical.macroscopic
Fields in org.planit.network.physical.macroscopic with type parameters of type Pair Modifier and Type Field Description protected Map<MacroscopicLinkSegment,Map<Mode,Pair<Double,Double>>>
MacroscopicNetwork. bprParametersForLinkSegmentAndMode
Map containing the BPR parameters for link segment and mode, if these are specified in the network file (null if default values are being used) -
Uses of Pair in org.planit.route
Methods in org.planit.route with parameters of type Pair Modifier and Type Method Description static Route
Route. createRoute(IdGroupingToken groupId, Centroid destination, Pair<Double,EdgeSegment>[] vertexPathAndCost)
Create the route from an implicit origin to a specified destination, using the vertexPathAndCost array as input coming from a shortest path algorithm output This method makes use of the fact that the origin pair in the vertexPathAndCost array has a null EdgeSegment.
-