}
@Override
public void consume(HGAndReferences hgAndRefs) {
FeatureForest fForest = riskAnnotator.riskAnnotationOnHG(hgAndRefs.hg, hgAndRefs.referenceSentences);
fForest.setFeatureWeights(weightsForTheta);
fForest.setScale(scalingFactor);
/** Based on a model and a test hypergraph
* (which provides the topology and feature/risk annotation),
* compute the gradient and function value.