Generated on Tue May 22 09:42:05 2018 for Gecode by doxygen 1.6.3

Test::Set::Int::Weights Class Reference
[Combined integer/set constraints]

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 424 of file int.cpp.


Member Data Documentation


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