org.drools.planner.examples.traindesign.solver.trainDesignSolverConfig.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"?> <solver> <!--<environmentMode>DEBUG</environmentMode>--> <solutionClass>org.drools.planner.examples.traindesign.domain.TrainDesign</solutionClass> <planningEntityClass>org.drools.planner.examples.traindesign.domain.CarBlockDesignation</planningEntityClass> <scoreDrl>/org/drools/planner/examples/traindesign/solver/trainDesignScoreRules.drl</scoreDrl> <scoreDefinition> <scoreDefinitionType>HARD_AND_SOFT</scoreDefinitionType> </scoreDefinition> <termination> <maximumMinutesSpend>5</maximumMinutesSpend> </termination> <constructionHeuristic> <constructionHeuristicType>FIRST_FIT</constructionHeuristicType> </constructionHeuristic> </solver>