Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.pas.domain.solver
Class BedDesignationDifficultyWeightFactory

java.lang.Object
  extended by org.drools.planner.examples.pas.domain.solver.BedDesignationDifficultyWeightFactory
All Implemented Interfaces:
SelectionSorterWeightFactory<PatientAdmissionSchedule,BedDesignation>

public class BedDesignationDifficultyWeightFactory
extends Object
implements SelectionSorterWeightFactory<PatientAdmissionSchedule,BedDesignation>


Nested Class Summary
static class BedDesignationDifficultyWeightFactory.BedDesignationDifficultyWeight
           
 
Constructor Summary
BedDesignationDifficultyWeightFactory()
           
 
Method Summary
 Comparable createSorterWeight(PatientAdmissionSchedule schedule, BedDesignation bedDesignation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BedDesignationDifficultyWeightFactory

public BedDesignationDifficultyWeightFactory()
Method Detail

createSorterWeight

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

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.