susy_cfa  b611ccad937ea179f86a1f5663960264616c0a20
Classes | Enumerations | Functions
cut.hpp File Reference
#include "small_tree.hpp"
#include "cut_impl.hpp"

Go to the source code of this file.

Classes

struct  CutBase
 
struct  Cut< T >
 

Enumerations

enum  InequalityType {
  kNotEqual = -3, kLess = -2, kLessEqual = -1, kEqual = 0,
  kGreater = 1, kGreaterEqual = 2
}
 

Functions

template<typename T >
Cut< T > MakeCut (small_tree const *tree, const T &(small_tree::*func)() const, const T &cut_val, InequalityType compare=kGreaterEqual)
 
template<typename T >
Cut< T > * NewCut (small_tree const *tree, const T &(small_tree::*func)() const, const T &cut_val, InequalityType compare=kGreaterEqual)
 

Enumeration Type Documentation

Enumerator
kNotEqual 
kLess 
kLessEqual 
kEqual 
kGreater 
kGreaterEqual 

Definition at line 7 of file cut.hpp.

Function Documentation

template<typename T >
Cut<T> MakeCut ( small_tree const *  tree,
const T &(small_tree::*)() const  func,
const T &  cut_val,
InequalityType  compare = kGreaterEqual 
)

Definition at line 40 of file cut_impl.hpp.

template<typename T >
Cut<T>* NewCut ( small_tree const *  tree,
const T &(small_tree::*)() const  func,
const T &  cut_val,
InequalityType  compare = kGreaterEqual 
)

Definition at line 48 of file cut_impl.hpp.

Referenced by main().