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
36namespace TMVA
37{
38
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
unsigned int UInt_t
Definition: RtypesCore.h:42
#define ClassDef(name, id)
Definition: Rtypes.h:326
This PDEFoam variant acts like a decision tree and stores in every cell the discriminant.
virtual void Explore(PDEFoamCell *Cell)
Internal subprogram used by Create.
PDEFoamDecisionTree()
Default constructor for streamer, user should not use it.
virtual ~PDEFoamDecisionTree()
Destructor deletes fSepType.
This PDEFoam variant stores in every cell the discriminant.
An interface to calculate the "SeparationGain" for different separation criteria used in various trai...
Basic string class.
Definition: TString.h:131
create variable transformations