LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
Base class for search tasks. More...
#include <Search.h>
Inherits LatBuilder::Task::Task.
Inherited by LatBuilder::Task::Extend< LR, ET, COMPRESS, PLO, FIGURE >.
Classes | |
class | MinObserver |
Observer of the MinElement functor. More... | |
Public Types | |
typedef boost::signals2::signal< void(const Search &)> | OnLatticeSelected |
Public Member Functions | |
Search (Dimension dimension) | |
Search (Search &&other) | |
Dimension | dimension () const |
Returns the dimension. | |
int | verbose () const |
void | setVerbose (int verbose) |
const MeritFilterList< LR, ET > & | filters () const |
Returns the filters of merit transformations. | |
MeritFilterList< LR, ET > & | filters () |
Returns the filters of merit transformations. More... | |
const LatDef< LR, ET > & | bestLattice () const |
Returns the best lattice found by the search task. | |
Real | bestMeritValue () const |
Returns the best merit value found by the search task. | |
const Functor::MinElement< Real > & | minElement () const |
MinObserver & | minObserver () |
Returns the minimum-element observer. | |
const MinObserver & | minObserver () const |
void | setObserverVerbosity (int verbose) const |
void | setObserverTotalDim (Dimension totalDim) const |
OnLatticeSelected & | onLatticeSelected () |
Lattice-selected signal. More... | |
const OnLatticeSelected & | onLatticeSelected () const |
virtual const FigureOfMerit & | figureOfMerit () const =0 |
virtual void | execute ()=0 |
Executes the search task. More... | |
virtual void | reset () |
Initializes the best lattice and merit value. | |
Protected Member Functions | |
virtual void | format (std::ostream &os) const |
void | selectBestLattice (const LatDef< LR, ET > &lattice, Real merit, bool quiet) |
Selects a new best lattice and emits an OnLatticeSelected signal, if quiet is set to false. | |
Base class for search tasks.
ET | Type of lattice. |
|
pure virtual |
Executes the search task.
The best lattice and merit value are set in the process.
Implements LatBuilder::Task::Task.
Implemented in LatBuilder::Task::Extend< LR, ET, COMPRESS, PLO, FIGURE >.
|
inline |
Returns the filters of merit transformations.
|
inline |
Lattice-selected signal.
Emitted when a lattice has been selected by the search algorithm.
Referenced by LatBuilder::Task::Search< LR, ET >::selectBestLattice().