Hi,
<br><br>If your class extends CachedMoveFactory, the drools planner will call your
<br>move factory only once at start.
<br><br>But if it extends AbstractMoveFactory, the drools planner will be call at
<br>each step
<br><br>Samuel
<br><br>CSC • This is a PRIVATE message. If you are not the intended recipient,
<br>please delete without copying and kindly advise us by e-mail of the mistake
<br>in delivery. &nbsp;NOTE: Regardless of content, this e-mail shall not operate to
<br>bind CSC to any order or other contract unless pursuant to explicit written
<br>agreement or government initiative expressly permitting the use of e-mail
<br>for such purpose • CSC Computer Sciences SAS • Registered Office: Immeuble
<br>Le Balzac, 10 Place des Vosges, 92072 Paris La Défense Cedex, France •
<br>Registered in France: RCS Nanterre B 315 268 664
<br><br><br>|------------&gt;
<br>| From: &nbsp; &nbsp; &nbsp;|
<br>|------------&gt;
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>&nbsp; |&quot;awuttke [via Drools - Java Rules Engine]&quot; &lt;<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=723568&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>|------------&gt;
<br>| To: &nbsp; &nbsp; &nbsp; &nbsp;|
<br>|------------&gt;
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>&nbsp; |Samuel Deballon/FRA/CSC@CSC &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>|------------&gt;
<br>| Date: &nbsp; &nbsp; &nbsp;|
<br>|------------&gt;
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>&nbsp; |16/04/2010 11:22 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>|------------&gt;
<br>| Subject: &nbsp; |
<br>|------------&gt;
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br>&nbsp; |Drools Planner - How often are the Move Factory classes called? &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; |
<br>&nbsp; &gt;--------------------------------------------------------------------------------------------------------------------------------------------------|
<br><br><br><br><br><br>I've been working with the Drools Planner for some time now and found that
<br>the Move Factory Classes seem to be called only once just before the first
<br>solver iteration. Each iteration seems to get it's moves from this initial
<br>'move pool' generated by the move factories.
<br><br>However, in the documentation it is mentioned that the move factory would
<br>be called for each iteration and would therefore allow me to modify the
<br>move generation algorithm for each iteration.
<br><br>So what is true for the current version of the planner 5.1.0? Can I
<br>configure different ways of using the move factories during the solution
<br>process?
<br><br>I'm using a standard tabu search configuration, based on the lesson
<br>schedule example.
<br><br>Thank you,
<br>Andreas Wuttke
<br><br>View message @
<br><a href="http://n3.nabble.com/Drools-Planner-How-often-are-the-Move-Factory-classes-called-tp723534p723534.html" target="_top" rel="nofollow" link="external">http://n3.nabble.com/Drools-Planner-How-often-are-the-Move-Factory-classes-called-tp723534p723534.html</a><br><br>To start a new topic under Drools - User, email ml-node
<br>+<a href="http://n3.nabble.com/user/SendEmail.jtp?type=node&node=723568&i=1" target="_top" rel="nofollow">[hidden email]</a>
<br>To unsubscribe from Drools - User, click here.
<br><br>
<br><hr align="left" width="300">
View this message in context: <a href="http://n3.nabble.com/Drools-Planner-How-often-are-the-Move-Factory-classes-called-tp723534p723568.html">Re: Drools Planner - How often are the Move Factory classes called?</a><br>
Sent from the <a href="http://n3.nabble.com/Drools-User-f47000.html">Drools - User mailing list archive</a> at Nabble.com.<br>