[gecode-users] A rather basic quesion
Justin Pearson
Justin.Pearson at it.uu.se
Thu Aug 16 15:09:48 CEST 2007
This show my lack of understanding of Gecode but.
I have a question about using intermediate variables when settig up
constraints.
Suppose I have a script, I know that I have to do the business with
the copy constructor and sharing. But suppose I set up a constraint as
follows (V is already copyed in the copy/sharing stuff):
BoolVar X;
rel(this,V,IRT_NQ,42,X);
eq(this,X,1);
Do I have to copy X as well in the copy constructor/sharing?
What happens if I don't?
Justin
More information about the gecode-users
mailing list