<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">Hi Geoffrey,<br><br>Thanks for confirming and optimizing documentation.<br>I think the thing which confused me is that in the doc (http://docs.jboss.org/drools/release/5.5.0.Final/drools-planner-docs/html_single/index.html#d0e5583) does not say anything about RANDOM selection in the first (simple configuration) sections.<br>If I am correct that even in the simple configuration this random selection is the case, then may I suggest this change:<br><br><span style="font-family: times new roman,new york,times,serif;"><span>&nbsp;7.4.1. unionMoveSelector<br>&nbsp;A unionMoveSelector selects a Move by <span style="font-weight: bold;">randomly </span>selecting 1 of its child MoveSelectors to supply the next Move.</span></span><br><br>I know it's a very small change, but it takes away the doubt upfront.<br><br>One more question concerning this
 chapter:<br><br>In the advanced configuration section, the first example uses both selectorProbabilityWeightFactoryClass&nbsp; fixedProbabilityWeight.<br>Should one use these in combination? Or is it the one or the other?<br>Also, in the second example only fixedProbabilityWeight is used. <br>It seems strange to build a Factory that calculates the weight and in the same time to specify the weight hard-coded for every (some of the) child moveselectors.<br><br>Am I right here?<br><br>Thanks,<br><br>Michiel<br><br><div>-----------------<br>http://www.codessentials.com - Your essential software, for free!<br>Follow us at http://twitter.com/#!/Codessentials<br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Geoffrey De Smet
 &lt;ge0ffrey.spam@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b> rules-users@lists.jboss.org <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, January 29, 2013 9:50 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Planner: localSearch &gt; unionMoveSelector<br> </font> </div> <br>
<div id="yiv241914076">
  

    
  
  <div>
    <br>
    <div class="yiv241914076moz-cite-prefix">Op 28-01-13 21:24, Michiel Vermandel
      schreef:<br>
    </div>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt;">
        <div><span>Hi,</span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><br>
          <span></span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>If I have a default </span><span>unionMoveSelector
            in my configuration:<br>
          </span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><br>
          <span></span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>&nbsp;&nbsp;&nbsp;
            &lt;unionMoveSelector&gt;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;...MoveSelector/&gt;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;...MoveSelector/&gt;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;...MoveSelector/&gt;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>
            &nbsp;&nbsp;&nbsp; &lt;/unionMoveSelector&gt;</span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><br>
          <span></span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>then is the next move
            selected by random amongst the different move selectors.</span></div>
      </div>
    </blockquote>
    Yes<br>
    <br>
    What's unclear from
http://docs.jboss.org/drools/release/5.5.0.Final/drools-planner-docs/html_single/index.html#d0e5583<br>
    Does this commit make it clearer?<br>
<a rel="nofollow" class="yiv241914076moz-txt-link-freetext" target="_blank" href="https://github.com/droolsjbpm/drools-planner/commit/b1011e1fff9fd9e19e6f28d35a255b65dda3f784">https://github.com/droolsjbpm/drools-planner/commit/b1011e1fff9fd9e19e6f28d35a255b65dda3f784</a><br>
    <br>
    <blockquote type="cite">
      <div style="color:#000;background-color:#fff;font-family:arial, helvetica, sans-serif;font-size:10pt;">
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>I think I can
            understand that from the manual, though want to verify that.</span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><br>
          <span></span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>Thanks</span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><br>
          <span></span></div>
        <div style="color:rgb(0, 0, 0);font-size:13.3333px;font-family:arial, helvetica, sans-serif;
background-color:transparent;font-style:normal;"><span>Michiel<br>
          </span></div>
        <div>-----------------<br>
          http://www.codessentials.com - Your essential software, for
          free!<br>
          Follow us at http://twitter.com/#!/Codessentials</div>
      </div>
      <br>
      <fieldset class="yiv241914076mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
rules-users mailing list
<a rel="nofollow" class="yiv241914076moz-txt-link-abbreviated" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a rel="nofollow" class="yiv241914076moz-txt-link-freetext" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a>
</pre>
    </blockquote>
    <br>
  </div>

</div><br>_______________________________________________<br>rules-users mailing list<br><a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br><br> </div> </div>  </div></body></html>