Maximum.m 512 Bytes
%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