org.drools.planner.examples.nqueens.domain.solution
Class RowStrengthWeightFactory
java.lang.Object
org.drools.planner.examples.nqueens.domain.solution.RowStrengthWeightFactory
- All Implemented Interfaces:
- PlanningValueStrengthWeightFactory
public class RowStrengthWeightFactory
- extends Object
- implements PlanningValueStrengthWeightFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RowStrengthWeightFactory
public RowStrengthWeightFactory()
createStrengthWeight
public Comparable createStrengthWeight(Solution solution,
Object planningValue)
- Specified by:
createStrengthWeight
in interface PlanningValueStrengthWeightFactory
- 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.