Test::Set::Int::Weights Class Reference
[Combined integer/set constraints]
Inherits Test::Set::SetTest.
Detailed Description
Test for set weight constraint.Definition at line 329 of file int.cc.
Public Member Functions | |
Weights (const char *t) | |
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 |
Member Data Documentation
The documentation for this class was generated from the following file:
- test/set/int.cc (Revision: 6241)