[gecode-users] Using IntVarArgs in a propagate function

Christian Schulte cschulte at kth.se
Tue Jun 24 14:29:54 CEST 2014


You can't use IntVarArgs, it is as simple as that. Please see all examples
in MPG.

Christian

--
Christian Schulte, Professor of Computer Science, KTH,
www.ict.kth.se/~cschulte/

-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Amina Kemmar
Sent: Tuesday, June 24, 2014 1:45 PM
To: users at gecode.org
Subject: [gecode-users] Using IntVarArgs in a propagate function

Hi everybody,

I create a class which inherit from Propagator, containing the member
"IntVarArgs x" instead of "ViewArray<IntView> x", In the propagate function,
I must use a posting function which accept "IntVarArgs" 
instead of "ViewArray".
How can I update "x" (during copying) in order to use it in the propagate
function?

Thanks.

---
Amina

_______________________________________________
Gecode users mailing list
users at gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users




More information about the users mailing list