Class HighestWeightSelector
- java.lang.Object
-
- org.matsim.contrib.socnetsim.framework.replanning.selectors.highestweightselection.HighestWeightSelector
-
- All Implemented Interfaces:
GroupLevelPlanSelector
public final class HighestWeightSelector extends Object implements GroupLevelPlanSelector
Selects the plan combination with the highest (implementation specific) weight.
To do so, it iteratively constructs the joint plan using a branch-and-bound approach, which avoids exploring the full set of combinations.- Author:
- thibautd
-
-
Constructor Summary
Constructors Constructor Description HighestWeightSelector(boolean isForRemoval, IncompatiblePlansIdentifierFactory incompFactory, WeightCalculator weightCalculator)
HighestWeightSelector(IncompatiblePlansIdentifierFactory incompFactory, WeightCalculator weightCalculator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupPlans
selectPlans(JointPlans jointPlans, ReplanningGroup group)
-
-
-
Constructor Detail
-
HighestWeightSelector
public HighestWeightSelector(IncompatiblePlansIdentifierFactory incompFactory, WeightCalculator weightCalculator)
-
HighestWeightSelector
public HighestWeightSelector(boolean isForRemoval, IncompatiblePlansIdentifierFactory incompFactory, WeightCalculator weightCalculator)
-
-
Method Detail
-
selectPlans
public final GroupPlans selectPlans(JointPlans jointPlans, ReplanningGroup group)
- Specified by:
selectPlans
in interfaceGroupLevelPlanSelector
-
-