Gecode::Search::Meta::Parallel::CollectAll Class Reference
Collect all solutions.
More...
#include <pbs.hh>
List of all members.
Detailed Description
Collect all solutions.
Definition at line 95 of file pbs.hh.
Constructor & Destructor Documentation
Gecode::Search::Meta::Parallel::CollectAll::CollectAll |
( |
void |
|
) |
[inline] |
Initialize.
Definition at line 42 of file pbs.hpp.
Gecode::Search::Meta::Parallel::CollectAll::~CollectAll |
( |
void |
|
) |
[inline] |
Destructor.
Definition at line 63 of file pbs.hpp.
Member Function Documentation
bool Gecode::Search::Meta::Parallel::CollectAll::add |
( |
Space * |
s, |
|
|
Slave< CollectAll > * |
r | |
|
) |
| | [inline] |
Add a solution a reported by r and always return true.
Definition at line 45 of file pbs.hpp.
bool Gecode::Search::Meta::Parallel::CollectAll::constrain |
( |
const Space & |
b |
) |
[inline] |
Dummy function.
Definition at line 50 of file pbs.hpp.
bool Gecode::Search::Meta::Parallel::CollectAll::empty |
( |
void |
|
) |
const [inline] |
Check whether there is any solution left.
Definition at line 55 of file pbs.hpp.
Return solution reported by r.
Definition at line 59 of file pbs.hpp.
Member Data Documentation
Queue of solutions.
Definition at line 98 of file pbs.hh.
Whether it collects best solutions.
Definition at line 101 of file pbs.hh.
The documentation for this class was generated from the following files: