Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
96bf10c7
Commit
96bf10c7
authored
Nov 17, 2019
by
VIGNET Pierre
Browse files
[lib] CLUnfolder: Cleaning; Add doc; fix typos
parent
59c9ee57
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
library/cadbiom/models/clause_constraints/CLDynSys.py
View file @
96bf10c7
...
...
@@ -158,7 +158,8 @@ class CLDynSys(object):
{"_h_0000": ('clock', -1)}
:param report: Reporter for error reporting.
:param base_var_set: Set of ALL variables of the dynamic system (including auxiliary ones).
:param base_var_set: Set of ALL variables of the dynamic system
(including inputs, entities, clocks/events, auxiliary variables)
:param list_clauses: Clauses
Added from MCLTranslator.
:param aux_list_clauses: Auxiliary clauses.
...
...
@@ -306,8 +307,8 @@ class CLDynSys(object):
self
.
aux_list_clauses
.
append
(
cla
)
def
get_var_number
(
self
):
"""
returns the number of variables used in the system (including aux var
s)
"""
Get the number of ALL variables of the dynamic system
(including inputs, entities, clocks/events, auxiliary variable
s)
"""
return
len
(
self
.
base_var_set
)
library/cadbiom/models/clause_constraints/mcl/CLUnfolder.py
View file @
96bf10c7
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment