<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:10pt">Hi Armand,<br><br>Thanks for the advice.<br>Well I managed to open the gz file with another decompression tool. No idea why 7-zip did not manage.<br>I'll try to convert it with that ps2pdf tool.<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> "Welsh, Armand" <AWelsh@StateStreet.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 8:01 PM<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>
<div id="yiv496382364">
<style><!--
#yiv496382364
_filtered #yiv496382364 {font-family:Calibri;panose-1:2 15 5 2 2 2 4 3 2 4;}
_filtered #yiv496382364 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv496382364
#yiv496382364 p.yiv496382364MsoNormal, #yiv496382364 li.yiv496382364MsoNormal, #yiv496382364 div.yiv496382364MsoNormal
        {margin:0in;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman", "serif";}
#yiv496382364 a:link, #yiv496382364 span.yiv496382364MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv496382364 a:visited, #yiv496382364 span.yiv496382364MsoHyperlinkFollowed
        {color:purple;text-decoration:underline;}
#yiv496382364 p.yiv496382364MsoAcetate, #yiv496382364 li.yiv496382364MsoAcetate, #yiv496382364 div.yiv496382364MsoAcetate
        {margin:0in;margin-bottom:.0001pt;font-size:8.0pt;font-family:"Tahoma", "sans-serif";}
#yiv496382364 span.yiv496382364BalloonTextChar
        {font-family:"Tahoma", "sans-serif";}
#yiv496382364 span.yiv496382364EmailStyle19
        {font-family:"Calibri", "sans-serif";color:#1F497D;}
#yiv496382364 .yiv496382364MsoChpDefault
        {font-size:10.0pt;}
_filtered #yiv496382364 {margin:1.0in 1.0in 1.0in 1.0in;}
#yiv496382364 div.yiv496382364WordSection1
        {}
--></style>
<div>
<div class="yiv496382364WordSection1">
<div class="yiv496382364MsoNormal"><span style="font-size:11.0pt;color:#1F497D;">.ps.gz is a postscript file compressed using GZip. On windows you will need to find a postscript viewer, or you can use the ps2pdf online tool to convert it
to a pdf document. And to uncompress the gz file you can either search for gzip (gunzip) or use Cygwin so you can have the full Gnu suite available. There is a gzip for windows, but I am a little confused, because I thought 7-Zip is able to expand the GZip
files.</span></div>
<div class="yiv496382364MsoNormal"><span style="font-size:11.0pt;color:#1F497D;"> </span></div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in;">
<div class="yiv496382364MsoNormal"><b><span style="font-size:10.0pt;">From:</span></b><span style="font-size:10.0pt;"> rules-users-bounces@lists.jboss.org [mailto:rules-users-bounces@lists.jboss.org]
<b>On Behalf Of </b>Michiel Vermandel<br>
<b>Sent:</b> Friday, February 22, 2013 2:34 AM<br>
<b>To:</b> Wolfgang Laun; Rules Users List<br>
<b>Subject:</b> Re: [rules-users] Planner: Is it possible to know which move was selected on step-end?</span></div>
</div>
</div>
<div class="yiv496382364MsoNormal"> </div>
<div>
<div class="yiv496382364MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">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</span></div>
<div>
<div class="yiv496382364MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;"> </span></div>
</div>
<div>
<div class="yiv496382364MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;"> </span></div>
</div>
<div>
<div class="yiv496382364MsoNormal" style="background:white;"><span style="font-size:10.0pt;color:black;">-----------------<br>
http://www.codessentials.com - Your essential software, for free!<br>
Follow us at http://twitter.com/#!/Codessentials</span></div>
</div>
<div>
<div>
<div>
<div class="yiv496382364MsoNormal" style="text-align:center;background:white;" align="center">
<span style="font-size:10.0pt;color:black;">
<hr align="center" size="1" width="100%">
</span></div>
<div class="yiv496382364MsoNormal" style="background:white;"><b><span style="font-size:10.0pt;color:black;">From:</span></b><span style="font-size:10.0pt;color:black;"> Wolfgang Laun <<a rel="nofollow" ymailto="mailto:wolfgang.laun@gmail.com" target="_blank" href="mailto:wolfgang.laun@gmail.com">wolfgang.laun@gmail.com</a>><br>
<b>To:</b> Michiel Vermandel <<a rel="nofollow" ymailto="mailto:mvermand@yahoo.com" target="_blank" href="mailto:mvermand@yahoo.com">mvermand@yahoo.com</a>>; Rules Users List <<a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a>>
<br>
<b>Sent:</b> Friday, February 22, 2013 10:28 AM<br>
<b>Subject:</b> Re: [rules-users] Planner: Is it possible to know which move was selected on step-end?</span><span style="color:black;"></span></div>
</div>
<div class="yiv496382364MsoNormal" style="margin-bottom:12.0pt;background:white;"><span style="color:black;"><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 rel="nofollow" ymailto="mailto:mvermand@yahoo.com" target="_blank" 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>
> <a rel="nofollow" target="_blank" href="http://www.codessentials.com/">http://www.codessentials.com</a> - Your essential software, for free!<br>
> Follow us at <a rel="nofollow" target="_blank" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a><br>
><br>
><br>
> ________________________________<br>
> From: Geoffrey De Smet <<a rel="nofollow" ymailto="mailto:ge0ffrey.spam@gmail.com" target="_blank" href="mailto:ge0ffrey.spam@gmail.com">ge0ffrey.spam@gmail.com</a>><br>
> To: <a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" 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 rel="nofollow" target="_blank" href="https://issues.jboss.org/browse/PLANNER">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 rel="nofollow" target="_blank" href="https://github.com/droolsjbpm/drools-planner/tree/master/drools-planner-benchmark/src/main/java/org/drools/planner/benchmark/core/statistic/calculatecount">
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 rel="nofollow" target="_blank" href="http://www.codessentials.com/">http://www.codessentials.com</a> - Your essential software, for<br>
> free!<br>
>>Follow us at <a rel="nofollow" target="_blank" href="http://twitter.com/#!/Codessentials">http://twitter.com/#!/Codessentials</a><br>
>><br>
>><br>
>>_______________________________________________<br>
> rules-users mailing list <a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
><br>
> _______________________________________________<br>
> rules-users mailing list<br>
> <a rel="nofollow" ymailto="mailto:rules-users@lists.jboss.org" target="_blank" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
> <a rel="nofollow" target="_blank" href="https://lists.jboss.org/mailman/listinfo/rules-users">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br>
</span></div>
</div>
</div>
</div>
</div>
</div>
</div><br><br> </div> </div> </div></body></html>