#include <LandmarkRegister.h>
Public Member Functions | |
~LandmarkRegister () | |
The destructor. More... | |
void | add (std::string type, creator_pointer) |
Add a new landmark selection style to the register of landmark selectors. More... | |
void | remove (creator_pointer f) |
Remove a landmark selection style from the register of metrics. More... | |
bool | check (std::string type) |
Verify if a landmark selection style is present in the register. More... | |
LandmarkSelectionBase * | create (const LandmarkSelectionOptions &lo) |
Create a landmark selection object. More... | |
Private Types | |
typedef LandmarkSelectionBase *(* | creator_pointer) (const LandmarkSelectionOptions &) |
Pointer to a function which, given the type for a ReferenceConfiguration, creates it. More... | |
Private Attributes | |
std::map< std::string, creator_pointer > | m |
The set of possible landmark selection algorithms we can work with. More... | |
|
private |
Pointer to a function which, given the type for a ReferenceConfiguration, creates it.
PLMD::analysis::LandmarkRegister::~LandmarkRegister | ( | ) |
The destructor.
void PLMD::analysis::LandmarkRegister::add | ( | std::string | type, |
creator_pointer | f | ||
) |
Add a new landmark selection style to the register of landmark selectors.
bool PLMD::analysis::LandmarkRegister::check | ( | std::string | type | ) |
Verify if a landmark selection style is present in the register.
LandmarkSelectionBase * PLMD::analysis::LandmarkRegister::create | ( | const LandmarkSelectionOptions & | lo | ) |
Create a landmark selection object.
void PLMD::analysis::LandmarkRegister::remove | ( | creator_pointer | f | ) |
Remove a landmark selection style from the register of metrics.
|
private |
The set of possible landmark selection algorithms we can work with.
Hosted by GitHub | 1.8.10 |