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.utils.misc Miscellaneous utility 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 voidTampereNodeModel. 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 booleanTampereNodeModel. updateDemandConstrainedInLinkSegments(Pair<Double,Integer> mostRestrictingOutLinkSegmentData)protected voidTampereNodeModel. 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
Fields in org.planit.algorithms.shortestpath with type parameters of type Pair Modifier and Type Field Description protected static Comparator<Pair<DirectedVertex,Double>>AStarShortestPathAlgorithm. pairSecondComparatorComparator to sort based on the second elements minimum value (ascending order)protected static Comparator<Pair<DirectedVertex,Double>>DijkstraShortestPathAlgorithm. pairSecondComparatorComparator to sort based on the second elements minimum value (ascending order) -
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. defaultParametersDefault 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.utils.misc
Methods in org.planit.utils.misc that return Pair Modifier and Type Method Description static <A,B>
Pair<A,B>Pair. create(A valueA, B valueB)Factory method
-