31 #ifndef ROOT_TMVA_Rule 32 #define ROOT_TMVA_Rule 46 std::ostream&
operator<<( std::ostream& os,
const Rule & rule );
51 friend std::ostream&
operator<< ( std::ostream& os,
const Rule & rule );
150 void PrintRaw ( std::ostream& os )
const;
151 void*
AddXMLTo (
void* parent )
const;
153 void ReadRaw ( std::istream& os );
162 void Print( std::ostream& os )
const;
Rule()
the simple constructor
UInt_t GetNumVarsUsed() const
void SetCoefficient(Double_t v)
const TString & GetVarName(Int_t i) const
returns the name of a rule
void SetSSBNeve(Double_t v)
void SetRuleCut(RuleCut *rc)
Double_t GetSigma() const
Double_t GetImportanceRef() const
void PrintLogger(const char *title=0) const
print function
Bool_t operator==(const Rule &other) const
comparison operator ==
Bool_t ContainsVariable(UInt_t iv) const
check if variable in node
const RuleEnsemble * GetRuleEnsemble() const
Bool_t EvalEvent(const Event &e) const
const RuleCut * GetRuleCut() const
Bool_t EvalEvent(const Event &eve)
void operator=(const Rule &other)
Implementation of a rule.
void PrintRaw(std::ostream &os) const
extensive print function used to print info for the weight file
void * AddXMLTo(void *parent) const
void SetSigma(Double_t v)
Double_t RuleDist(const Rule &other, Bool_t useCutValue) const
Returns:
A class describing a 'rule cut'.
UInt_t GetNcuts() const
get number of cuts
void ReadFromXML(void *wghtnode)
read rule from XML
Double_t GetCoefficient() const
std::ostream & operator<<(std::ostream &os, const BinaryTree &tree)
void ReadRaw(std::istream &os)
read function (format is the same as written by PrintRaw)
void Copy(const Rule &other)
copy function
void SetImportanceRef(Double_t v)
void SetSupport(Double_t v)
void SetNorm(Double_t norm)
Double_t GetRelImportance() const
you should not use this method at all Int_t Int_t Double_t Double_t Double_t e
ostringstream derivative to redirect and format output
void Print(std::ostream &os) const
print function
Abstract ClassifierFactory template that handles arbitrary types.
Bool_t IsSignalRule() const
Bool_t operator<(const Rule &other) const
comparison operator <
Double_t GetImportance() const
void SetMsgType(EMsgType t)
friend std::ostream & operator<<(std::ostream &os, const Rule &rule)
MsgLogger & Log() const
message logger
Double_t Sqrt(Double_t x)
virtual ~Rule()
destructor
void SetRuleEnsemble(const RuleEnsemble *re)
Double_t GetSSBNeve() const
Double_t GetSupport() const
const RuleEnsemble * fRuleEnsemble
Bool_t Equal(const Rule &other, Bool_t useCutValue, Double_t maxdist) const
Compare two rules.