1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "CondFormats/GBRForest/interface/GBRTree.h"
//_______________________________________________________________________
GBRTree::GBRTree(int nIntermediate, int nTerminal) {
//special case, root node is terminal
if (nIntermediate == 0)
nIntermediate = 1;
fCutIndices.reserve(nIntermediate);
fCutVals.reserve(nIntermediate);
fLeftIndices.reserve(nIntermediate);
fRightIndices.reserve(nIntermediate);
fResponses.reserve(nTerminal);
}
|