Commit 1461fe89 by Chiara Antonini

Upload new file

1 parent 129f0997
%Class computing the maximum value of a model variable curve. It extends
%the abstract class EvaluationFunction. The method compute_evalfunc takes in input
%an object TimeBehavior and returns in output the maximum.
classdef Maximum < EvaluationFunction
properties
end
methods
function EvalFuncValue=compute_ef(obj,obj_TimeBehavior)
EvalFuncValue=max(obj_TimeBehavior.values,[],2);
end
end
end
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!