org.drools.planner.examples.pas.solver.patientAdmissionScheduleSolverConfig.xml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of drools-planner-examples Show documentation
Show all versions of drools-planner-examples Show documentation
Drools Planner optimizes automated planning by combining metaheuristic search algorithms with rule
engine powered score calculation. This is the drools-planner-examples module which contains examples on how to use
Drools Planner.
<?xml version="1.0" encoding="UTF-8"?> <localSearchSolver> <!--<environmentMode>DEBUG</environmentMode>--> <scoreDrl>/org/drools/planner/examples/pas/solver/patientAdmissionScheduleBaseScoreRules.drl</scoreDrl> <scoreDefinition> <scoreDefinitionType>HARD_AND_SOFT</scoreDefinitionType> </scoreDefinition> <startingSolutionInitializerClass>org.drools.planner.examples.pas.solver.solution.initializer.PatientAdmissionScheduleStartingSolutionInitializer</startingSolutionInitializerClass> <termination> <!-- On Geoffrey De Smet's PC: 372 (short run), 3720 (long run). On Peter Demeester's PC: 300 (short run), 3000 (long run). --> <maximumSecondsSpend>3720</maximumSecondsSpend> </termination> <selector> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.pas.solver.move.factory.BedChangeMoveFactory</moveFactoryClass>--> <!--</selector>--> <!--<selector>--> <!--<moveFactoryClass>org.drools.planner.examples.pas.solver.move.factory.BedDesignationSwitchMoveFactory</moveFactoryClass>--> <!--</selector>--> <selector> <moveFactoryClass>org.drools.planner.examples.pas.solver.move.factory.BedDesignationPillarPartSwitchMoveFactory</moveFactoryClass> </selector> </selector> <acceptor> <completeSolutionTabuSize>1000</completeSolutionTabuSize> <completeUndoMoveTabuSize>3</completeUndoMoveTabuSize> </acceptor> <forager> <pickEarlyType>NEVER</pickEarlyType> <minimalAcceptedSelection>500</minimalAcceptedSelection><!-- TODO tweak me --> </forager> </localSearchSolver>