Minimizer: rm unused member function, make getter functions const, correct typos
Several getter functions in classes Refiner and RefinementBatch are blocked from being made const
by member function RefinementBatch::_cost_function
, which is unused and should be removed.
See pending solution in !504 (merged).