No subject
Fri Apr 18 09:03:45 CEST 2008
between the variables which value is assigned true.
=20
Since, it is not possible to write non-monotonic propagators in
Gecode, what can I do?
=20
I tried doing the choice, after I reach a fix-point, but what happens
if I have many of this non-deterministic choices?
=20
It is required to write it this using Gecode and being efficient.
=20
All ideas are welcomed. Thanks
=20
P.S : Gecode developers, do you want to include the ask propagator =
inside
Gecode?=20
I have an stress example showing better performance than using =
Mozart-Oz.
=20
Mauricio
--=20
Mauricio Toro Bermudez
Estudiante de Ingenier=EDa de Sistemas
Pontificia Universidad Javeriana, Colombia
Stagiare =E0 l'Ircam
1, place Igor-Stravinsky 75004 Paris,=20
France de 2008 =E0 2009=20
------=_NextPart_000_001A_01C8B035.2BED0CD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3DEN-US link=3Dblue vlink=3Dpurple>
<div class=3DSection1>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi,<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>There is in principle no problem with a non-deterministic
construct in Gecode: the point is that the full reduction of the =
construct must
be monotonic. This is no different for parallel conditionals in Mozart, =
say.<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I don't feel right now that an ask combinator is of =
sufficient
general interest to be included in Gecode. We are quite conservative to =
include
new stuff into Gecode (basically, there should be an application that =
needs
it). If others think otherwise, please make yourself =
heard.<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Christian<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>--<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Christian Schulte, =
www.ict.kth.se/~cschulte/<o:p></o:p></span></p>
<p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt =
0in 0in 0in'>
<p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span>=
</b><span
style=3D'font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
users-bounces at gecode.org [mailto:users-bounces at gecode.org] <b>On Behalf =
Of </b>Mauricio
Toro<br>
<b>Sent:</b> Monday, May 05, 2008 6:33 PM<br>
<b>To:</b> gecode at gecode.org; users at gecode.org<br>
<b>Subject:</b> [gecode-users] About the parallel conditional combinator =
in
Gecol<o:p></o:p></span></p>
</div>
<p class=3DMsoNormal><o:p> </o:p></p>
<p class=3DMsoNormal>Hello all,<o:p></o:p></p>
<div>
<p class=3DMsoNormal>How are you doing?<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>I know that Gecode is not made for concurrent =
constraint
programming<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>and there are not combinators in Gecode. But, since =
the ask<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>propagator worked very good. Now I am interested in =
writting<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>the parallel conditional combinator in Gecode. Not =
necessary<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>as a combinator, but I need something with this =
semantic:<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>Non deterministically choose<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal> if Boolean var 1 then Process =
1 <o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal> if Boolean var 2 then Process =
2<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal> if Boolean var n then Process =
n<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>end<br clear=3Dall>
<br>
<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>From the n variables, I want to execute choose one =
process<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>between the variables which value is assigned =
true.<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>Since, it is not possible to write non-monotonic =
propagators
in<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>Gecode, what can I do?<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>I tried doing the choice, after I reach a =
fix-point, but
what happens<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>if I have many of this non-deterministic =
choices?<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>It is required to write it this using Gecode and =
being
efficient.<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>All ideas are welcomed. Thanks<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>P.S : Gecode developers, do you want to include the =
ask
propagator inside Gecode? <o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal>I have an stress example showing better performance =
than
using Mozart-Oz.<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><o:p> </o:p></p>
</div>
<div>
<p class=3DMsoNormal>Mauricio<o:p></o:p></p>
</div>
<div>
<p class=3DMsoNormal><br>
-- <br>
Mauricio Toro Bermudez<br>
Estudiante de Ingenier=EDa de Sistemas<br>
Pontificia Universidad Javeriana, Colombia<br>
<br>
Stagiare =E0 l'Ircam<br>
1, place Igor-Stravinsky 75004 Paris, <br>
France de 2008 =E0 2009 <o:p></o:p></p>
</div>
</div>
</body>
</html>
------=_NextPart_000_001A_01C8B035.2BED0CD0--
More information about the gecode-users
mailing list