This is the MVA factory.
Definition at line 55 of file ClassifierFactory.h.
Public Types | |
| typedef IMethod *(* | Creator) (const TString &job, const TString &title, DataSetInfo &dsi, const TString &option) | 
Public Member Functions | |
| IMethod * | Create (const std::string &name, const TString &job, const TString &title, DataSetInfo &dsi, const TString &option) | 
| creates the method if needed based on the method name using the creator function the factory has stored   | |
| IMethod * | Create (const std::string &name, DataSetInfo &dsi, const TString &weightfile="") | 
| creates the method if needed based on the method name using the creator function the factory has stored   | |
| const std::vector< std::string > | List () const | 
| returns a vector of the method type names of registered methods   | |
| void | Print () const | 
| prints the registered method type names   | |
| Bool_t | Register (const std::string &name, Creator creator) | 
| registers a classifier creator function under the method type name   | |
| Bool_t | Unregister (const std::string &name) | 
| unregisters a classifier type name   | |
Static Public Member Functions | |
| static void | DestroyInstance () | 
| destroy the singleton instance   | |
| static ClassifierFactory & | Instance () | 
| access to the ClassifierFactory singleton creates the instance if needed   | |
Private Types | |
| typedef std::map< std::string, Creator > | CallMap | 
Private Member Functions | |
| ClassifierFactory () | |
| ClassifierFactory (const ClassifierFactory &) | |
| ~ClassifierFactory () | |
| const ClassifierFactory & | operator= (const ClassifierFactory &) | 
Private Attributes | |
| CallMap | fCalls | 
Static Private Attributes | |
| static ClassifierFactory * | fgInstance = 0 | 
| Initialize static singleton pointer.   | |
#include <TMVA/ClassifierFactory.h>
      
  | 
  private | 
Definition at line 98 of file ClassifierFactory.h.
| typedef IMethod *(* TMVA::ClassifierFactory::Creator) (const TString &job, const TString &title, DataSetInfo &dsi, const TString &option) | 
Definition at line 60 of file ClassifierFactory.h.
      
  | 
  inlineprivate | 
Definition at line 87 of file ClassifierFactory.h.
      
  | 
  inlineprivate | 
Definition at line 88 of file ClassifierFactory.h.
      
  | 
  private | 
| TMVA::IMethod * TMVA::ClassifierFactory::Create | ( | const std::string & | name, | 
| const TString & | job, | ||
| const TString & | title, | ||
| DataSetInfo & | dsi, | ||
| const TString & | option ) | 
creates the method if needed based on the method name using the creator function the factory has stored
Definition at line 89 of file ClassifierFactory.cxx.
| TMVA::IMethod * TMVA::ClassifierFactory::Create | ( | const std::string & | name, | 
| DataSetInfo & | dsi, | ||
| const TString & | weightfile = "" ) | 
creates the method if needed based on the method name using the creator function the factory has stored
Definition at line 114 of file ClassifierFactory.cxx.
      
  | 
  static | 
destroy the singleton instance
Definition at line 58 of file ClassifierFactory.cxx.
      
  | 
  static | 
access to the ClassifierFactory singleton creates the instance if needed
Definition at line 48 of file ClassifierFactory.cxx.
| const std::vector< std::string > TMVA::ClassifierFactory::List | ( | ) | const | 
returns a vector of the method type names of registered methods
Definition at line 136 of file ClassifierFactory.cxx.
      
  | 
  private | 
| void TMVA::ClassifierFactory::Print | ( | ) | const | 
prints the registered method type names
Definition at line 149 of file ClassifierFactory.cxx.
registers a classifier creator function under the method type name
Definition at line 66 of file ClassifierFactory.cxx.
unregisters a classifier type name
Definition at line 80 of file ClassifierFactory.cxx.
      
  | 
  private | 
Definition at line 100 of file ClassifierFactory.h.
      
  | 
  staticprivate | 
Initialize static singleton pointer.
Definition at line 97 of file ClassifierFactory.h.