2 #ifndef EGAMMAOBJECTS_GBRForestD 3 #define EGAMMAOBJECTS_GBRForestD 32 template<
typename InputForestT>
GBRForestD(
const InputForestT &forest);
53 for (std::vector<GBRTreeD>::const_iterator it=
fTrees.begin(); it!=
fTrees.end(); ++it) {
54 int termidx = it->TerminalIndex(vector);
55 response += it->GetResponse(termidx);
66 for (
typename std::vector<typename InputForestT::TreeT>::const_iterator treeit = forest.Trees().begin(); treeit!=forest.Trees().end(); ++treeit) {
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