MINT2
|
#include <HyperBinningAlgorithms.h>
Public Types | |
enum | Alg { SMART, MINT, MINT_SMART, MINT_RANDOM, SMART_RANDOM, LIKELIHOOD, SMART_LIKELIHOOD, SMART_MULTI, FUNC_PHASE } |
Public Member Functions | |
HyperBinningAlgorithms (Alg algorithm) | |
void | addAlgOption (AlgOption option) |
Add an AlgOption which is passed to the binning algortihm. More... | |
HyperBinningMaker * | getHyperBinningMaker (HyperCuboid binningRange, HyperPointSet points) |
~HyperBinningAlgorithms () | |
Private Member Functions | |
AlgOption | getOpt (AlgOption::OptionName name) |
bool | optExist (AlgOption::OptionName name) |
Private Attributes | |
std::vector< AlgOption > | _algOptions |
Alg | _alg |
HyperPlot, Author: Sam Harnew, sam.h , Date: Dec 2015 arne w@gma il.c om
This class is used to pick one of the binning algorithms (in HyperBinningMakers.h) and then sets any additional options that are passed as AlgOption's
Definition at line 134 of file HyperBinningAlgorithms.h.
enum containing a list of the avalible binning algorithms
Enumerator | |
---|---|
SMART | |
MINT | |
MINT_SMART | |
MINT_RANDOM | |
SMART_RANDOM | |
LIKELIHOOD | |
SMART_LIKELIHOOD | |
SMART_MULTI | |
FUNC_PHASE |
Definition at line 139 of file HyperBinningAlgorithms.h.
HyperBinningAlgorithms::HyperBinningAlgorithms | ( | Alg | algorithm | ) |
Constuct a HyperBinningAlgorithms by selecting the algortihm you would like to use
Definition at line 293 of file HyperBinningAlgorithms.cpp.
HyperBinningAlgorithms::~HyperBinningAlgorithms | ( | ) |
void HyperBinningAlgorithms::addAlgOption | ( | AlgOption | option | ) |
Add an AlgOption which is passed to the binning algortihm.
Definition at line 300 of file HyperBinningAlgorithms.cpp.
HyperBinningMaker * HyperBinningAlgorithms::getHyperBinningMaker | ( | HyperCuboid | binningRange, |
HyperPointSet | points | ||
) |
Get the HyperBinningMaker (the binning algorithm) with the chosen algorithm type, and with the chosen AlgOption's
Definition at line 306 of file HyperBinningAlgorithms.cpp.
|
private |
look through the list of AlgOption's and see if one with a specific OptionName exsits. If so, return it, if not return the OptionName EMTPY
Definition at line 274 of file HyperBinningAlgorithms.cpp.
|
private |
look through the list of AlgOption's and see if one with a specific OptionName exsits.
Definition at line 285 of file HyperBinningAlgorithms.cpp.
|
private |
the algorithm (e.g. HyperBinningMakerMint) that will be used in a particular instance of the class
Definition at line 147 of file HyperBinningAlgorithms.h.
|
private |
list of options that will be given to the HyperBinningMaker
Definition at line 144 of file HyperBinningAlgorithms.h.