Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
SysBiOThe
/
CRA-Matlab
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit dd54c3d5
authored
2019-03-31 21:18:17 +0200
by
Chiara Antonini
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Upload new file
1 parent
f8162010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
CRA_Updated_Version/Classes/Area.m
CRA_Updated_Version/Classes/Area.m
0 → 100644
View file @
dd54c3d
%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
\ No newline at end of file
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment