calcVerificationOptimizationObjective.m
% This function is part of the NMSM Pipeline, see file for full license.
%
% This function calculates the cost function objective for verification
% optimization.
%
% (Number, Array of number, Number, struct) -> (Number)
% Returns objective
function objective = calcVerificationOptimizationObjective(integral)
continuousObjective = sum(integral) / length(integral);
objective = continuousObjective;
end