Generated on Wed Nov 5 2014 05:18:49 for Gecode by doxygen 1.7.6.1
Test::Set::Int::Weights Class Reference

Test for set weight constraint More...

List of all members.

Public Member Functions

 Weights (const char *t, IntArgs &el, IntArgs &w, int min=-10000, int max=10000)
 Create and register test.
virtual bool solution (const SetAssignment &x) const
 Test whether x is solution
virtual void post (Space &home, SetVarArray &x, IntVarArray &y)
 Post constraint on x.

Public Attributes

IntArgs elements
IntArgs weights
int minWeight
int maxWeight

Detailed Description

Test for set weight constraint

Definition at line 377 of file int.cpp.


The documentation for this class was generated from the following file: