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();
std::vector< GBRTreeD > & Trees()
const std::vector< GBRTreeD > & Trees() const
std::vector< GBRTreeD > fTrees
void SetInitialResponse(double response)
double GetResponse(const float *vector) const
#define COND_SERIALIZABLE
double InitialResponse() const