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: [email protected] [mailto:[email protected]] 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
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users


_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to