Test::Set::Int::Weights Class Reference
[Combined integer/set constraints]
Test for set weight constraint More...
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:
- test/set/int.cpp
