Hello all,

In my script class, i have an array of CarDeparture pointer objects which
class contains several IntVar variables and some data information.

Inside the script copy constructor, i create a copy of the array of
CarDeparture objects using a CarDeparture copy constructor which updates
each of its IntVar variables and data.

I am thinking to set a CarDeparture object as a parameter for a brancher.
So, i should again do a copy of this object inside the brancher copy
constructor.

According to you, is it judicious to proceed like this concerning
performance ?
Or maybe, can i make the CarDeparture class inherit of LocalHandle (in
order to be space dependant ?).

Thank you all.
Cheers,
Christine
_______________________________________________
Gecode users mailing list
users@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to