Below you 'll find the nqueens example drools-solver configuration.
It's currently configured as a tabu search.
<?xml version="1.0" encoding="UTF-8"?>
<localSearchSolver>
<drl>/net/sf/taseree/samples/nqueens/taseree/nQueensRules.drl</drl>
<scoreCalculator>
<scoreCalculatorClass>net.sf.taseree.core.evaluation.scorecalculator.SimpleScoreCalculator</scoreCalculatorClass>
</scoreCalculator>
<finish>
<finishCompositionStyle>OR</finishCompositionStyle>
<maximumStepCount>100</maximumStepCount>
<feasableScore>0.0</feasableScore>
</finish>
<selector>
<moveFactoryClass>net.sf.taseree.samples.nqueens.taseree.NQueensMoveFactory</moveFactoryClass>
</selector>
<accepter>
<accepterType>MOVE_TABU</accepterType>
<completeTabuSize>5</completeTabuSize>
</accepter>
<forager>
<foragerClass>net.sf.taseree.core.localsearch.decider.forager.MaxScoreOfAllForager</foragerClass>
</forager>
</localSearchSolver>
Feed back welcome :)
Do you think this is clear?
Different configuration options are possible, I 'll explain them in due
time.
--
With kind regards,
Geoffrey De Smet
Show replies by date