Hi Philippe, that's fine, it's not required to do that stuff in the constructor. The copy method shouldn't have to change.
Cheers, Guido On 12/08/2013, at 19:33 , Philippe <aqwzsxaqw...@orange.fr> wrote: > Hi all, > > In all examples provided in Gecode manual, all the works is done > In the constructor (initialisation, calls to 'rel', 'branch' ...). > > For some reasons, my inputs are setted via setters and, when it's done, > a do_post() function member (which calls 'rel','branch' ...) is called only > once from the main. > > It seems to work but is it valid ? Does this have an impact on cloning ? > Do i need to call the do_post in the 'copy(bool share)' ? > > > Thanks, > Philippe > > > _______________________________________________ > Gecode users mailing list > users@gecode.org > https://www.gecode.org/mailman/listinfo/gecode-users -- Guido Tack, http://www.csse.monash.edu/~guidot/
_______________________________________________ Gecode users mailing list users@gecode.org https://www.gecode.org/mailman/listinfo/gecode-users