Area.m 507 Bytes
%Class computing the area of the temporal behavior of a model variable. It extends
%the abstract class EvaluationFunction. The method compute_evalfunc takes in input
%an object TimeBehavior and returns in output the value of the area. 

classdef Area < EvaluationFunction    
    
    properties
    end
   
    methods
               
        function EvalFuncValue=compute_ef(obj,obj_TimeBehavior)
            EvalFuncValue=sum(obj_TimeBehavior.values,2);            
        end
        
    end
    
end