Uses of Class
com.graphhopper.jsprit.core.algorithm.recreate.RegretKAlternatives.Alternative
Packages that use RegretKAlternatives.Alternative
-
Uses of RegretKAlternatives.Alternative in com.graphhopper.jsprit.core.algorithm.recreate
Methods in com.graphhopper.jsprit.core.algorithm.recreate that return RegretKAlternatives.AlternativeModifier and TypeMethodDescriptionRegretKAlternatives.get(int index) Returns the alternative at the given index (0-based).RegretKAlternatives.getBest()Returns the best (lowest cost) alternative, or null if empty.RegretKAlternatives.getSecondBest()Returns the second-best alternative for backward compatibility.Methods in com.graphhopper.jsprit.core.algorithm.recreate that return types with arguments of type RegretKAlternatives.AlternativeModifier and TypeMethodDescriptionRegretKAlternatives.getAlternatives()Returns all alternatives sorted by cost (ascending).RegretKAlternatives.getTopK(int k) Returns the top k alternatives (or all if fewer than k exist).Constructor parameters in com.graphhopper.jsprit.core.algorithm.recreate with type arguments of type RegretKAlternatives.AlternativeModifierConstructorDescriptionRegretKAlternatives(List<RegretKAlternatives.Alternative> alternatives)