Hello all,
I am doing an application with Gecode using several Spaces. I need to copy the domain from IntVars and SetVars from one Space to another. But, once I copy the domain, the old space is deleted, therefore I do not want some sort of "channel" constraint. For example: Space * space1; IntVar x(space1, 1,10); IntSet y; copythedomain(x,y); //do some computation delete space1; Space * space2; IntVar z(space2,1,100); copythedomain(z,y); //do some computation delete space2; I tried with these constraints: dom(space1,x,y); dom(space2,z,y); But they did not work. What can I do? Thanks !! -- Mauricio Toro Bermudez Estudiante de Ingeniería de Sistemas Pontificia Universidad Javeriana, Colombia Stagiare à l'Ircam 1, place Igor-Stravinsky 75004 Paris, France de 2008 à 2009
_______________________________________________ Gecode users mailing list [EMAIL PROTECTED] https://www.gecode.org/mailman/listinfo/gecode-users