<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt">Thanks a lot.<br><br>Though when I try to open the archive with 7-Zip it says that it cannot open it.<br>I'm working on Windows7.<br><br>Any idea of tool I could use?<br><br>Thanks<br><div><span><br></span></div><div> </div><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: Courier New, courier, monaco, monospace, 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> Wolfgang Laun <wolfgang.laun@gmail.com><br> <b><span style="font-weight: bold;">To:</span></b> Michiel Vermandel <mvermand@yahoo.com>;
Rules Users List <rules-users@lists.jboss.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, February 22, 2013 10:28 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [rules-users] Planner: Is it possible to know which move was selected on step-end?<br> </font> </div> <br>
Reminds me of a very fascinating paper<br>http://www-cs-faculty.stanford.edu/~uno/papers/dancing-color.ps.gz<br><br>(Note that the paper discusses puzzles where pieces may have one out<br>of a limited number of "shapes" resulting from all permitted<br>positions. I guess that's similar to what OP described.)<br><br>-W<br><br><br>On 22/02/2013, Michiel Vermandel <<a ymailto="mailto:mvermand@yahoo.com" href="mailto:mvermand@yahoo.com">mvermand@yahoo.com</a>> wrote:<br>> Well,<br>><br>> I need to solve - let's say - a complex 2 dimensional puzzle.<br>> The goal is to fill a 2D rectangle (with fixed dimensions) out of "puzzle<br>> pieces" that do not have a fixed shape.<br>> A puzzle piece is built out of a number of bars of variable length and the<br>> bars can slide against each other (to some extend: differs per joint of two<br>> bars).<br>><br>><br>> Just shifting and swapping around the "puzzle pieces" is not quite
well<br>> performingsince that will result in many<br>><br>> violations although a shift or swap could match perfectly if you slide (some<br>> of) the bars of the piece at the same time.<br>><br>> Feeding all possible combinations of shifts and swaps combined with all<br>> possible forms of the pieces would result in ... well quite a lot of<br>> combinations.<br>> So I want to build a smarter mover that "knows" how to slide a piece in<br>> order to fit it in an available place (or swap it with an other piece to<br>> improve both pieces match).<br>> I think the mover would perform far better if I have a "bit-map" that<br>> contains the 2D representation of the way everything is placed and which<br>> could calculate the best layout of the piece before putting it into the<br>> puzzle.<br>><br>> Therefor I would like to know the last change applied so I can incrementally<br>> update the bit-map instead
of recalculating it entirely every time.<br>><br>> Hey, hmmm... maybe I don't need to know the last accepted move. Just finding<br>> the diff between best-solution and previous best-solution might do the<br>> trick?!<br>><br>> For finding the best layout of a single piece, ?could I use a second<br>> instance of planner that does a "normal" bin-packaging of a single piece in<br>> the available container (container is then an available free area or the<br>> combination of one or more other pieces and the free space around that other<br>> piece)?<br>><br>> Maybe I'm going goofy on this... too many long nights are beginning to cloud<br>> my mind.<br>><br>> Well, any ideas are welcome.<br>><br>><br>> Regards.<br>><br>><br>> -----------------<br>> http://www.codessentials.com - Your essential software, for free!<br>> Follow us at http://twitter.com/#!/Codessentials<br>><br>><br>>
________________________________<br>> From: Geoffrey De Smet <<a ymailto="mailto:ge0ffrey.spam@gmail.com" href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>><br>> To: <a ymailto="mailto:rules-users@lists.jboss.org" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>> Sent: Thursday, February 21, 2013 10:37 AM<br>> Subject: Re: [rules-users] Planner: Is it possible to know which move was<br>> selected on step-end?<br>><br>><br>> Officially, in the public api (aka the "user facing api"), there's no such<br>> listener.<br>> Why would you need this at runtime?<br>> Open an issue: if there's a good reason to need this, we can talk<br>> about adding it to the public api.<br>> <a href="https://issues.jboss.org/browse/PLANNER" target="_blank">https://issues.jboss.org/browse/PLANNER</a><br>><br>><br>> That being said and handled first, the
benchmarker actually hacks a<br>> step listener if I recall correctly:<br>> <a href="https://github.com/droolsjbpm/drools-planner/tree/master/drools-planner-benchmark/src/main/java/org/drools/planner/benchmark/core/statistic/calculatecount" target="_blank">https://github.com/droolsjbpm/drools-planner/tree/master/drools-planner-benchmark/src/main/java/org/drools/planner/benchmark/core/statistic/calculatecount</a><br>><br>><br>> Op 20-02-13 21:56, Michiel Vermandel schreef:<br>><br>> Hi,<br>>><br>>><br>>>Is it possible to capture which move was selected on step-end?<br>>>I don't mean in the logging but by event or custom selector or... ?<br>>><br>>><br>>><br>>>Thanks<br>>><br>>><br>>>Michiel<br>>><br>>><br>>>-----------------<br>>><a href="http://www.codessentials.com/" target="_blank">http://www.codessentials.com</a> - Your
essential software, for<br>> free!<br>>>Follow us at <a href="http://twitter.com/#!/Codessentials" target="_blank">http://twitter.com/#!/Codessentials</a><br>>><br>>><br>>>_______________________________________________<br>> rules-users mailing list <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>> 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>