[gecode-users] Creating an empty IntSet?

Malcolm Ryan malcolmr at cse.unsw.edu.au
Mon Nov 5 01:57:47 CET 2007


How do I create an empty IntSet, eg for the initial lower bound of a  
SetVar?

Eg, if I want 'set' to be a a subset of {1,2,3}:

	IntSet empty = ???;
	IntSet max = new IntSet(1,3);
         SetVar set = new SetVar(space, empty, max);

How do I create 'empty'?

Malcolm

--
      "The act of defending any of the cardinal virtues has today all
       the exhilaration of a vice."
                                     - G.K.Chesterton A Defense of  
Humility







More information about the gecode-users mailing list