ROOT  6.06/09
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 
33 #ifndef ROOT_TMVA_PDEFoamDiscriminant
35 #endif
36 #ifndef ROOT_TMVA_SeparationBase
37 #include "TMVA/SeparationBase.h"
38 #endif
39 
40 namespace TMVA
41 {
42 
44  {
45 
46  private:
47  SeparationBase *fSepType; // separation type
48 
49  protected:
50 
51  virtual void Explore(PDEFoamCell *Cell); // Exploration of the cell
52 
53  PDEFoamDecisionTree(const PDEFoamDecisionTree&); // Copy Constructor NOT USED
54 
55  public:
56  PDEFoamDecisionTree(); // Default constructor (used only by ROOT streamer)
57  PDEFoamDecisionTree(const TString&, SeparationBase *sepType, UInt_t cls); // Principal user-defined constructor
58  virtual ~PDEFoamDecisionTree(); // Default destructor
59 
60  // ---------- ROOT class definition
61  ClassDef(PDEFoamDecisionTree, 1) // Decision tree like PDEFoam
62  }; // end of PDEFoamDecisionTree
63 
64 } // namespace TMVA
65 
66 #endif
Basic string class.
Definition: TString.h:137
#define ClassDef(name, id)
Definition: Rtypes.h:254
virtual void Explore(PDEFoamCell *Cell)
Internal subprogram used by Create.
unsigned int UInt_t
Definition: RtypesCore.h:42
Abstract ClassifierFactory template that handles arbitrary types.
virtual ~PDEFoamDecisionTree()
Destructor deletes fSepType.