<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">Op 27-02-13 19:50, Michiel Vermandel
      schreef:<br>
    </div>
    <blockquote
      cite="mid:1361991045.47670.YahooMailNeo@web161301.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:arial,
        helvetica, sans-serif;font-size:10pt">Hi,<br>
        <br>
        I think a planning solution gets cloned in two different
        scenarios:<br>
        1) a better solution is found<br>
        2) the solver propagates from one solving phase to another.<br>
        <br>
        Is this right?<br>
      </div>
    </blockquote>
    Currently this is right IIRC. But mix in multi-threading for 6.1 or
    6.2 and there will be more cases of cloning.<br>
    <blockquote
      cite="mid:1361991045.47670.YahooMailNeo@web161301.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:arial,
        helvetica, sans-serif;font-size:10pt"><br>
        If so, how do I know (inside the cloneSolution() method) if the
        clone is intended for a best-solution or a new working-solution?<br>
      </div>
    </blockquote>
    Why would you need to know that? Would it alter your cloning
    behavior somehow?<br>
    <br>
    It's probably hackable through BestSolutionRecaller, but it will
    give you a hard time when upgrading to 6.0 if you do hack it there.<br>
    <blockquote
      cite="mid:1361991045.47670.YahooMailNeo@web161301.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:arial,
        helvetica, sans-serif;font-size:10pt"><br>
        Thanks<br>
        <br>
        Michiel<br>
        <div><span><br>
          </span></div>
        <div>&nbsp;</div>
        <div>-----------------<br>
          <a class="moz-txt-link-freetext" href="http://www.codessentials.com">http://www.codessentials.com</a> - Your essential software, for
          free!<br>
          Follow us at <a class="moz-txt-link-freetext" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rules-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>