2 #ifndef EGAMMAOBJECTS_GBRForestD 3 #define EGAMMAOBJECTS_GBRForestD 32 template <
typename InputForestT>
54 for (std::vector<GBRTreeD>::const_iterator it =
fTrees.begin(); it !=
fTrees.end(); ++it) {
55 int termidx = it->TerminalIndex(vector);
56 response += it->GetResponse(termidx);
62 template <
typename InputForestT>
67 for (
typename std::vector<typename InputForestT::TreeT>::const_iterator treeit = forest.Trees().begin();
68 treeit != forest.Trees().end();
double GetResponse(const float *vector) const
std::vector< GBRTreeD > & Trees()
double InitialResponse() const
std::vector< GBRTreeD > fTrees
void SetInitialResponse(double response)
#define COND_SERIALIZABLE
const std::vector< GBRTreeD > & Trees() const