LatNet Builder Manual
2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
|
Container class for merit filters. More...
#include <MeritFilterList.h>
Public Types | |
typedef BasicMeritFilter< LR, ET > | Filter |
typedef Filter::InputMeritValue | MeritValue |
typedef Filter::LatDef | LatDef |
typedef std::list< std::unique_ptr< Filter > > | FilterList |
typedef boost::signals2::signal< void(const LatDef &)> | OnReject |
Type of signal emitted when a merit value is rejected. | |
Public Member Functions | |
BasicMeritFilterList () | |
Constructor. | |
bool | empty () const |
Returns true if and only if the list of filters is empty. | |
OnReject & | onReject () const |
Reject signal. More... | |
const FilterList & | filters () const |
Setup functions | |
void | add (std::unique_ptr< Filter > filter) |
Appends a filter for scalar merit values. More... | |
Protected Member Functions | |
MeritValue | apply (MeritValue merit, const LatDef &lat) const |
Container class for merit filters.
|
inline |
Appends a filter for scalar merit values.
filter | Filter function/functor to add. |
|
inline |
Reject signal.
Emitted when the a value in the output sequence is rejected by a filter.