Test::Search::FailImmediate Class Reference
Space that immediately fails. More...
Public Member Functions | |
| FailImmediate (HowToBranch, HowToBranch, HowToBranch, HowToConstrain=HTC_NONE) | |
| Constructor for space creation. | |
| FailImmediate (bool share, FailImmediate &s) | |
| Constructor for cloning s. | |
| virtual Space * | copy (bool share) |
| Copy during cloning. | |
| virtual void | constrain (const Space &) |
| Add constraint for next better solution. | |
| virtual int | solutions (void) const |
| Return number of solutions. | |
| virtual bool | best (void) const |
| Verify that this is best solution. | |
Static Public Member Functions | |
| static std::string | name (void) |
| Return name. | |
Public Attributes | |
| IntVarArray | x |
| Variables used. | |
Detailed Description
Space that immediately fails.Definition at line 89 of file search.cpp.
Constructor & Destructor Documentation
| Test::Search::FailImmediate::FailImmediate | ( | HowToBranch | , | |
| HowToBranch | , | |||
| HowToBranch | , | |||
| HowToConstrain | = HTC_NONE | |||
| ) | [inline] |
| Test::Search::FailImmediate::FailImmediate | ( | bool | share, | |
| FailImmediate & | s | |||
| ) | [inline] |
Member Function Documentation
| virtual Space* Test::Search::FailImmediate::copy | ( | bool | share | ) | [inline, virtual] |
| virtual void Test::Search::FailImmediate::constrain | ( | const Space & | ) | [inline, virtual] |
Add constraint for next better solution.
Reimplemented from Gecode::Space.
Definition at line 108 of file search.cpp.
| virtual int Test::Search::FailImmediate::solutions | ( | void | ) | const [inline, virtual] |
Return number of solutions.
Implements Test::Search::TestSpace.
Definition at line 111 of file search.cpp.
| virtual bool Test::Search::FailImmediate::best | ( | void | ) | const [inline, virtual] |
Verify that this is best solution.
Implements Test::Search::TestSpace.
Definition at line 115 of file search.cpp.
| static std::string Test::Search::FailImmediate::name | ( | void | ) | [inline, static] |
Member Data Documentation
The documentation for this class was generated from the following file:
