Collect best solutions.
More...
#include <pbs.hh>
|
static const bool | best = true |
| Whether it collects best solutions.
|
|
Collect best solutions.
Definition at line 113 of file pbs.hh.
◆ CollectBest()
Gecode::Search::Par::CollectBest::CollectBest |
( |
void | | ) |
|
|
inline |
Initialize.
Definition at line 68 of file pbs.hpp.
◆ ~CollectBest()
Gecode::Search::Par::CollectBest::~CollectBest |
( |
void | | ) |
|
|
inline |
Destructor.
Definition at line 111 of file pbs.hpp.
◆ add()
Add a solution s by r and return whether is was better.
Definition at line 71 of file pbs.hpp.
◆ constrain()
bool Gecode::Search::Par::CollectBest::constrain |
( |
const Space & | b | ) |
|
|
inline |
Check whether b better and update accordingly.
Definition at line 86 of file pbs.hpp.
◆ empty()
bool Gecode::Search::Par::CollectBest::empty |
( |
void | | ) |
const |
|
inline |
Check whether there is any solution left.
Definition at line 100 of file pbs.hpp.
◆ get()
Return solution reported by r (only if a better one was found)
Definition at line 104 of file pbs.hpp.
Space* Gecode::Search::Par::CollectBest::b |
|
protected |
Currently best solution.
Definition at line 116 of file pbs.hh.
◆ reporter
Who has reported the best solution (NULL if solution has already been reported)
Definition at line 118 of file pbs.hh.
◆ best
const bool Gecode::Search::Par::CollectBest::best = true |
|
static |
Whether it collects best solutions.
Definition at line 121 of file pbs.hh.
The documentation for this class was generated from the following files: