cc.factorie.app.chain.ChainModel
Put objective value and gradient into the accumulators.
Put objective value and gradient into the accumulators. Either argument can be null if they don't need to be computed.
Accumulator to hold value
Accumulator to hold gradient