OptaPlanner distribution 6.0.2-SNAPSHOT

org.optaplanner.examples.projectjobscheduling.domain.solver
Class ExecutionModeStrengthWeightFactory

java.lang.Object
  extended by org.optaplanner.examples.projectjobscheduling.domain.solver.ExecutionModeStrengthWeightFactory
All Implemented Interfaces:
SelectionSorterWeightFactory<Schedule,ExecutionMode>

public class ExecutionModeStrengthWeightFactory
extends Object
implements SelectionSorterWeightFactory<Schedule,ExecutionMode>


Nested Class Summary
static class ExecutionModeStrengthWeightFactory.ExecutionModeStrengthWeight
           
 
Constructor Summary
ExecutionModeStrengthWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(Schedule schedule, ExecutionMode executionMode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutionModeStrengthWeightFactory

public ExecutionModeStrengthWeightFactory()
Method Detail

createSorterWeight

public Comparable createSorterWeight(Schedule schedule,
                                     ExecutionMode executionMode)
Specified by:
createSorterWeight in interface SelectionSorterWeightFactory<Schedule,ExecutionMode>
Parameters:
schedule - never null, the Solution to which the selection belongs or applies to
executionMode - never null, a PlanningEntity, a planningValue, a Move or a Selector
Returns:
never null, for example a Integer, Double or a more complex Comparable

OptaPlanner distribution 6.0.2-SNAPSHOT

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.