#ifndef ROOT_TMVA_BinarySearchTreeNode
#define ROOT_TMVA_BinarySearchTreeNode
#include <iosfwd>
#include <vector>
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_TMVA_Node
#include "TMVA/Node.h"
#endif
namespace TMVA {
class Event;
class BinarySearchTreeNode : public Node {
public:
BinarySearchTreeNode( const Event* e = NULL, UInt_t signalClass=0 );
BinarySearchTreeNode( BinarySearchTreeNode* parent, char pos );
BinarySearchTreeNode ( const BinarySearchTreeNode &n,
BinarySearchTreeNode* parent = NULL);
virtual ~BinarySearchTreeNode ();
virtual Node* CreateNode() const { return new BinarySearchTreeNode(); }
virtual Bool_t GoesRight( const Event& ) const;
virtual Bool_t GoesLeft ( const Event& ) const;
virtual Bool_t EqualsMe ( const Event& ) const;
inline void SetSelector( Short_t i) { fSelector = i; }
inline Short_t GetSelector() const { return fSelector; }
const std::vector<Float_t> & GetEventV() const { return fEventV; }
Float_t GetWeight() const { return fWeight; }
UInt_t GetClass() const { return fClass; }
const std::vector<Float_t> & GetTargets() const { return fTargets; }
virtual void Print( std::ostream& os ) const;
virtual void PrintRec( std::ostream& os ) const;
virtual void AddAttributesToNode(void* node) const;
virtual void AddContentToNode(std::stringstream& s) const;
private:
virtual void ReadAttributes(void* node, UInt_t tmva_Version_Code = TMVA_VERSION_CODE );
virtual Bool_t ReadDataRecord( std::istream& is, UInt_t tmva_Version_Code = TMVA_VERSION_CODE );
virtual void ReadContent(std::stringstream& s);
std::vector<Float_t> fEventV;
std::vector<Float_t> fTargets;
Float_t fWeight;
UInt_t fClass;
Short_t fSelector;
ClassDef(BinarySearchTreeNode,0)
};
}
#endif
BinarySearchTreeNode.h:10 BinarySearchTreeNode.h:11 BinarySearchTreeNode.h:12 BinarySearchTreeNode.h:13 BinarySearchTreeNode.h:14 BinarySearchTreeNode.h:15 BinarySearchTreeNode.h:16 BinarySearchTreeNode.h:17 BinarySearchTreeNode.h:18 BinarySearchTreeNode.h:19 BinarySearchTreeNode.h:20 BinarySearchTreeNode.h:21 BinarySearchTreeNode.h:22 BinarySearchTreeNode.h:23 BinarySearchTreeNode.h:24 BinarySearchTreeNode.h:25 BinarySearchTreeNode.h:26 BinarySearchTreeNode.h:27 BinarySearchTreeNode.h:28 BinarySearchTreeNode.h:29 BinarySearchTreeNode.h:30 BinarySearchTreeNode.h:31 BinarySearchTreeNode.h:32 BinarySearchTreeNode.h:33 BinarySearchTreeNode.h:34 BinarySearchTreeNode.h:35 BinarySearchTreeNode.h:36 BinarySearchTreeNode.h:37 BinarySearchTreeNode.h:38 BinarySearchTreeNode.h:39 BinarySearchTreeNode.h:40 BinarySearchTreeNode.h:41 BinarySearchTreeNode.h:42 BinarySearchTreeNode.h:43 BinarySearchTreeNode.h:44 BinarySearchTreeNode.h:45 BinarySearchTreeNode.h:46 BinarySearchTreeNode.h:47 BinarySearchTreeNode.h:48 BinarySearchTreeNode.h:49 BinarySearchTreeNode.h:50 BinarySearchTreeNode.h:51 BinarySearchTreeNode.h:52 BinarySearchTreeNode.h:53 BinarySearchTreeNode.h:54 BinarySearchTreeNode.h:55 BinarySearchTreeNode.h:56 BinarySearchTreeNode.h:57 BinarySearchTreeNode.h:58 BinarySearchTreeNode.h:59 BinarySearchTreeNode.h:60 BinarySearchTreeNode.h:61 BinarySearchTreeNode.h:62 BinarySearchTreeNode.h:63 BinarySearchTreeNode.h:64 BinarySearchTreeNode.h:65 BinarySearchTreeNode.h:66 BinarySearchTreeNode.h:67 BinarySearchTreeNode.h:68 BinarySearchTreeNode.h:69 BinarySearchTreeNode.h:70 BinarySearchTreeNode.h:71 BinarySearchTreeNode.h:72 BinarySearchTreeNode.h:73 BinarySearchTreeNode.h:74 BinarySearchTreeNode.h:75 BinarySearchTreeNode.h:76 BinarySearchTreeNode.h:77 BinarySearchTreeNode.h:78 BinarySearchTreeNode.h:79 BinarySearchTreeNode.h:80 BinarySearchTreeNode.h:81 BinarySearchTreeNode.h:82 BinarySearchTreeNode.h:83 BinarySearchTreeNode.h:84 BinarySearchTreeNode.h:85 BinarySearchTreeNode.h:86 BinarySearchTreeNode.h:87 BinarySearchTreeNode.h:88 BinarySearchTreeNode.h:89 BinarySearchTreeNode.h:90 BinarySearchTreeNode.h:91 BinarySearchTreeNode.h:92 BinarySearchTreeNode.h:93 BinarySearchTreeNode.h:94 BinarySearchTreeNode.h:95 BinarySearchTreeNode.h:96 BinarySearchTreeNode.h:97 BinarySearchTreeNode.h:98 BinarySearchTreeNode.h:99 BinarySearchTreeNode.h:100 BinarySearchTreeNode.h:101 BinarySearchTreeNode.h:102 BinarySearchTreeNode.h:103 BinarySearchTreeNode.h:104 BinarySearchTreeNode.h:105 BinarySearchTreeNode.h:106 BinarySearchTreeNode.h:107 BinarySearchTreeNode.h:108 BinarySearchTreeNode.h:109 BinarySearchTreeNode.h:110 BinarySearchTreeNode.h:111 BinarySearchTreeNode.h:112 BinarySearchTreeNode.h:113 BinarySearchTreeNode.h:114 BinarySearchTreeNode.h:115 BinarySearchTreeNode.h:116 BinarySearchTreeNode.h:117 BinarySearchTreeNode.h:118 BinarySearchTreeNode.h:119 BinarySearchTreeNode.h:120 BinarySearchTreeNode.h:121 BinarySearchTreeNode.h:122 BinarySearchTreeNode.h:123 BinarySearchTreeNode.h:124 BinarySearchTreeNode.h:125