Test::Search::TestSpace Class Reference
Inherits Gecode::Space.Inherited by Test::Search::FailImmediate, and Test::Search::HasSolutions.
Detailed Description
Space with information.Definition at line 177 of file search.cc.
Public Member Functions | |
TestSpace (void) | |
Constructor for space creation. | |
TestSpace (bool share, TestSpace &s) | |
Constructor for cloning s. | |
virtual int | solutions (void) const =0 |
Return number of solutions. | |
virtual bool | best (void) const =0 |
Verify that this is best solution. |
Constructor & Destructor Documentation
Test::Search::TestSpace::TestSpace | ( | void | ) | [inline] |
Test::Search::TestSpace::TestSpace | ( | bool | share, | |
TestSpace & | s | |||
) | [inline] |
Member Function Documentation
virtual int Test::Search::TestSpace::solutions | ( | void | ) | const [pure virtual] |
Return number of solutions.
Implemented in Test::Search::FailImmediate, and Test::Search::HasSolutions.
virtual bool Test::Search::TestSpace::best | ( | void | ) | const [pure virtual] |
Verify that this is best solution.
Implemented in Test::Search::FailImmediate, and Test::Search::HasSolutions.
The documentation for this class was generated from the following file: