Logo ROOT  
Reference Guide
PDEFoamDecisionTree.h
Go to the documentation of this file.
1 // @(#)root/tmva $Id$
2 // Author: Alexander Voigt
3 
4 /**********************************************************************************
5  * Project: TMVA - a Root-integrated toolkit for multivariate data analysis *
6  * Package: TMVA *
7  * Classes: PDEFoamDecisionTree *
8  * Web : http://tmva.sourceforge.net *
9  * *
10  * Description: *
11  * Class for decision tree like PDEFoam. It overrides *
12  * PDEFoam::Explore() to use the decision tree like cell split *
13  * algorithm, given a specific separation type. *
14  * *
15  * Authors (alphabetical): *
16  * S. Jadach - Institute of Nuclear Physics, Cracow, Poland *
17  * Tancredi Carli - CERN, Switzerland *
18  * Dominik Dannheim - CERN, Switzerland *
19  * Alexander Voigt - TU Dresden, Germany *
20  * *
21  * Copyright (c) 2010: *
22  * CERN, Switzerland *
23  * MPI-K Heidelberg, Germany *
24  * *
25  * Redistribution and use in source and binary forms, with or without *
26  * modification, are permitted according to the terms listed in LICENSE *
27  * (http://tmva.sourceforge.net/LICENSE) *
28  **********************************************************************************/
29 
30 #ifndef ROOT_TMVA_PDEFoamDecisionTree
31 #define ROOT_TMVA_PDEFoamDecisionTree
32 
34 #include "TMVA/SeparationBase.h"
35 
36 namespace TMVA
37 {
38 
39  class PDEFoamDecisionTree : public PDEFoamDiscriminant
40  {
41 
42  private:
43  SeparationBase *fSepType; // separation type
44 
45  protected:
46 
47  virtual void Explore(PDEFoamCell *Cell); // Exploration of the cell
48 
49  PDEFoamDecisionTree(const PDEFoamDecisionTree&); // Copy Constructor NOT USED
50 
51  public:
52  PDEFoamDecisionTree(); // Default constructor (used only by ROOT streamer)
53  PDEFoamDecisionTree(const TString&, SeparationBase *sepType, UInt_t cls); // Principal user-defined constructor
54  virtual ~PDEFoamDecisionTree(); // Default destructor
55 
56  // ---------- ROOT class definition
57  ClassDef(PDEFoamDecisionTree, 1) // Decision tree like PDEFoam
58  }; // end of PDEFoamDecisionTree
59 
60 } // namespace TMVA
61 
62 #endif
TMVA::PDEFoamDecisionTree::fSepType
SeparationBase * fSepType
Definition: PDEFoamDecisionTree.h:91
TString
Definition: TString.h:136
SeparationBase.h
TMVA::PDEFoamDecisionTree::Explore
virtual void Explore(PDEFoamCell *Cell)
Internal subprogram used by Create.
Definition: PDEFoamDecisionTree.cxx:125
UInt_t
unsigned int UInt_t
Definition: RtypesCore.h:46
PDEFoamDiscriminant.h
ClassDef
#define ClassDef(name, id)
Definition: Rtypes.h:325
TMVA::PDEFoamDecisionTree::PDEFoamDecisionTree
PDEFoamDecisionTree()
Default constructor for streamer, user should not use it.
Definition: PDEFoamDecisionTree.cxx:69
TMVA::PDEFoamDecisionTree::~PDEFoamDecisionTree
virtual ~PDEFoamDecisionTree()
Destructor deletes fSepType.
Definition: PDEFoamDecisionTree.cxx:105
TMVA
create variable transformations
Definition: GeneticMinimizer.h:22