private void addAll(double[] values, List<Double> forest) {
        for (double value : values) {
            forest.add(value);
        }
    }
Optimize the given node, if it is the root of a gdbt forest. Otherwise do nothing and return false
searchlib/src/main/java/com/yahoo/searchlib/rankingexpression/evaluation/gbdtoptimization/GBDTForestOptimizer.java