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()) {}
const std::vector< int > & LeftIndices() const
std::vector< unsigned short > & CutIndices()
std::vector< int > fRightIndices
std::vector< int > & LeftIndices()
const std::vector< double > & Responses() const
std::vector< float > & CutVals()
std::vector< double > fResponses
std::vector< float > fCutVals
std::vector< int > fLeftIndices
std::vector< double > & Responses()
const std::vector< float > & CutVals() const
int TerminalIndex(const float *vector) const
std::vector< unsigned short > fCutIndices
const std::vector< int > & RightIndices() const
#define COND_SERIALIZABLE
std::vector< int > & RightIndices()
const std::vector< unsigned short > & CutIndices() const
double GetResponse(int termidx) const