That would be cool. I think it is not useful for the normal use of GeCode, so you have to decide if you want to bloat your code with this. But I would appreciate it. If there would be also the possibility to only remove certain constraints, that would be even more awesome. But here I see why it is difficult, as Propagators would need to be identified by something.
Best, Max On 08/17/2012 09:17 PM, Christian Schulte wrote: > > But I could add it for Gecode 4.*, should not be that hard. Do you > want it? > > > > Christian > > > > -- > > Christian Schulte, www.ict.kth.se/~cschulte/ > > > > *From:* users-boun...@gecode.org [mailto:users-boun...@gecode.org] *On > Behalf Of *Guido Tack > *Sent:* Friday, August 17, 2012 9:06 PM > *To:* Max Ostrowski > *Cc:* users@gecode.org > *Subject:* Re: [gecode-users] Removing propagators from a Space > > > > No, that's currently not supported. You'll have to work around it as > you suggested. > > > > Cheers, > > Guido > > > > -- > > Guido Tack > > http://www.csse.monash.edu/~guidot/ > <http://www.csse.monash.edu/%7Eguidot/> > > > > > > > > On 17/08/2012, at 11:24 PM, Max Ostrowski <ostro...@cs.uni-potsdam.de > <mailto:ostro...@cs.uni-potsdam.de>> wrote: > > > > Is there a way to remove all propagators from a space "a". > In this way the space contains only the restricted variables so far but > no constraints on them. > I need such a space and i want to avoid creating an empty space "b" and > adding all variables and constraining them to the values they had in "a". > > > Is this possible? > > > Best, > Max > > _______________________________________________ > Gecode users mailing list > users@gecode.org <mailto:users@gecode.org> > https://www.gecode.org/mailman/listinfo/gecode-users > > >
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users