2 #ifndef EGAMMAOBJECTS_GBRForestD
3 #define EGAMMAOBJECTS_GBRForestD
30 template <
typename InputForestT>
51 for (std::vector<GBRTreeD>::const_iterator it =
fTrees.begin(); it !=
fTrees.end(); ++it) {
52 int termidx = it->TerminalIndex(vector);
53 response += it->GetResponse(termidx);
59 template <
typename InputForestT>
64 for (
typename std::vector<typename InputForestT::TreeT>::const_iterator treeit = forest.Trees().begin();
65 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