[gecode-users] Finalizing TupleSets

Christian Schulte cschulte at kth.se
Tue Mar 10 08:17:05 CET 2009


Hmmm, the problem is that a TupleSet knows its arity only after the first
tuple has been added. So, if you think an empty TupleSet is important we can
change the design. Otherwise, you are of course right.

Christian

--
Christian Schulte, www.it.kth.se/~cschulte/


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Malcolm Ryan
Sent: Tuesday, March 10, 2009 2:21 AM
To: gecode list
Subject: Re: [gecode-users] Finalizing TupleSets

On 09/03/2009, at 8:55 PM, Christian Schulte wrote:

> Hi Malcolm,
>
> the attempt to use a not finalized tuple set raises an exception in  
> 3.0.0.
> The attempt to finalize an empty tuple set will also throw an  
> exception but
> most likely only in 3.0.1 and not 3.0.0.

Is that the intended behaviour? Having an empty tuple set seems  
perfectly legitimate to me.

Malcolm


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





More information about the gecode-users mailing list