Belle II Software light-2406-ragdoll
|
Template class to easily construct a interface for an MVA library using a library-specific Options, Teacher and Expert class. More...
#include <Interface.h>
Public Member Functions | |
Interface () | |
Constructs a new interface. | |
virtual std::unique_ptr< SpecificOptions > | getOptions () const override |
Get Options of this MVA library. | |
virtual std::unique_ptr< Teacher > | getTeacher (const GeneralOptions &general_options, const SpecificOptions &specific_options) const override |
Get Teacher of this MVA library. | |
virtual std::unique_ptr< MVA::Expert > | getExpert () const override |
Get Exoert of this MVA library. | |
std::string | getName () const |
Returns the name of the third-party MVA library. | |
Static Public Member Functions | |
static std::map< std::string, AbstractInterface * > | getSupportedInterfaces () |
Returns interfaces supported by the MVA Interface. | |
static void | initSupportedInterfaces () |
Static function which initliazes all supported interfaces, has to be called once before getSupportedInterfaces can be used. | |
Private Attributes | |
std::string | m_name |
Name of the third-party library. | |
Static Private Attributes | |
static std::map< std::string, AbstractInterface * > | s_supported_interfaces |
Map of supported interfaces. | |
Template class to easily construct a interface for an MVA library using a library-specific Options, Teacher and Expert class.
Definition at line 99 of file Interface.h.
|
inline |
Constructs a new interface.
Definition at line 104 of file Interface.h.
|
inlineoverridevirtual |
Get Exoert of this MVA library.
Implements AbstractInterface.
Definition at line 125 of file Interface.h.
|
inherited |
Returns the name of the third-party MVA library.
Definition at line 41 of file Interface.cc.
|
inlineoverridevirtual |
Get Options of this MVA library.
Implements AbstractInterface.
Definition at line 109 of file Interface.h.
|
inlinestaticinherited |
Returns interfaces supported by the MVA Interface.
Definition at line 53 of file Interface.h.
|
inlineoverridevirtual |
Get Teacher of this MVA library.
general_options | shared options of all libraries |
specific_options | specific options for this library |
Implements AbstractInterface.
Definition at line 116 of file Interface.h.
|
staticinherited |
Static function which initliazes all supported interfaces, has to be called once before getSupportedInterfaces can be used.
It is save to call it multiple times
Definition at line 45 of file Interface.cc.
|
privateinherited |
Name of the third-party library.
Definition at line 84 of file Interface.h.
|
staticprivateinherited |
Map of supported interfaces.
Definition at line 89 of file Interface.h.