[gecode-users] Difference between using IntVal and IntVar in propagators?

Christian Schulte cschulte at kth.se
Wed Sep 21 20:41:43 CEST 2011


Hi Kish,

It is similar to the discussion we had earlier: Gecode always chooses the
best propagator(s) for posting a constraint, so if there is a variant for
int then even posting with an assigned IntVar Gecode will choose that.

Again: posting constraints in Gecode is smart, don't worry!

Cheers
Christian

--
Christian Schulte, KTH, web.it.kth.se/~cschulte/

-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Kish Shen
Sent: Wednesday, September 21, 2011 8:18 PM
To: users at gecode.org
Subject: Re: [gecode-users] Difference between using IntVal and IntVar in
propagators?

On 21/09/2011 17:43, Kish Shen wrote:

> IntVar or IntVal. In general, is there a (significant) performance

I meant int, rather than IntVal, i.e. the variants accept an argument with
type int or IntVar.

Cheers,

Kish

--
This e-mail may contain confidential and privileged material for the sole
use of the intended recipient. Any review, use, distribution or disclosure
by others is strictly prohibited. If you are not the intended recipient (or
authorized to receive for the recipient), please contact the sender by reply
e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in England
and Wales with its registered office at 1 Callaghan Square, Cardiff, South
Glamorgan CF10 5BT.

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




More information about the users mailing list