I need to document those in the manual, if I haven't already in subversion.

relativeSelection means that only a percentage of all moves will be randomly selected to be evaluated into a score (and possibly accepted and picked as the next step).
You should experiment with different values for it.
You can use the benchmarker class (see the examples) to play out different values against each other.

topSize means that the top x scoring moves from the last step will always be selected. My experiments haven't proven topSize to be usefull yet...

With kind regards,
Geoffrey De Smet

Andrew Waterman schreef:
Hi,

My apologies for my earlier double post, I'm having some troubles with my mail client. I'm writing to see if anyone has any detailed information on an XML-schema, or, a more detailed break-down of the drools-solver configuration files. Basically, I'm trying to find out the set of available tags in drools-solver without going through the XML parsing code. In particular, I'm curious about the options with regards to the "<selector>" tag. In the "curriculumCourseSolverConfig.xml" file for the curriculum drools-solver example, the sub-tag "topSize' is used in the selector configuration:

    <selector>
        <selector>
            <topSize>10</topSize>
        </selector>
        <selector>
        <selector>
            <moveFactoryClass>
org.drools.solver.examples.itc2007.curriculumcourse.solver.move.factory.RoomChangeMoveFactory
    </moveFactoryClass>
            <relativeSelection>0.002</relativeSelection>
        </selector>
.... [list of further move factories] </selector>

In addition, the "relativeSelection" subtag is used as well.

What do these subtags mean? Is there a way to let the selector move through different weighted MoveFactories?
Thanks!

best wishes,

Andrew
---------------------------------
Andrew Waterman
San Cristóbal de las Casas, Chiapas, Mexico
+52 1 967 107 5902
+1 510 342 5693








------------------------------------------------------------------------

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to