2 #ifndef EGAMMAOBJECTS_GBRTreeD
3 #define EGAMMAOBJECTS_GBRTreeD
32 template <
typename InputTreeT>
72 if (vector[cutindex] > cutval) {
88 template <
typename InputTreeT>
90 : fCutIndices(tree.CutIndices()),
91 fCutVals(tree.CutVals()),
92 fLeftIndices(tree.LeftIndices()),
93 fRightIndices(tree.RightIndices()),
94 fResponses(tree.Responses()) {}
std::vector< unsigned short > & CutIndices()
const std::vector< float > & CutVals() const
std::vector< int > fRightIndices
const std::vector< int > & RightIndices() const
const std::vector< unsigned short > & CutIndices() const
std::vector< int > & LeftIndices()
std::vector< float > & CutVals()
std::vector< double > fResponses
std::vector< float > fCutVals
const std::vector< int > & LeftIndices() const
std::vector< int > fLeftIndices
std::vector< double > & Responses()
const std::vector< double > & Responses() const
double GetResponse(int termidx) const
std::vector< unsigned short > fCutIndices
#define COND_SERIALIZABLE
std::vector< int > & RightIndices()
int TerminalIndex(const float *vector) const