[gecode-users] Finalizing TupleSets

Christian Schulte cschulte at kth.se
Mon Mar 9 10:55:08 CET 2009


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.

Cheers
Christian

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


-----Original Message-----
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of Malcolm Ryan
Sent: Monday, March 09, 2009 8:18 AM
To: gecode list
Subject: [gecode-users] Finalizing TupleSets

The following code causes a crash in Gecode 2.2.0:

	TupleSet tuples;
	tuples.finalize();

It seems that finalising an empty TupleSet is not allowed.

Curiously enough, there doesn't seem to be anything stopping you from  
using an unfinalised TupleSet as a constraint.

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