org.drools.planner.api.domain.variable
Interface PlanningValueStrengthWeightFactory
- All Known Subinterfaces:
- PlanningVariable.NullStrengthWeightFactory
public interface PlanningValueStrengthWeightFactory
Creates a strengthWeight for a planning variable value.
A strengthWeight estimates how strong a planning value is.
Some algorithms benefit from planning on weaker planning values first or from focusing on them.
createStrengthWeight
Comparable createStrengthWeight(Solution solution,
Object planningValue)
- Parameters:
solution
- never null, the Solution
to which the planningEntity belongsplanningValue
- never null, the planning value to create the strengthWeight for
- Returns:
- never null
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.