Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cadbiom
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIGNET Pierre
cadbiom
Commits
546df638
Commit
546df638
authored
5 years ago
by
VIGNET Pierre
Browse files
Options
Downloads
Patches
Plain Diff
[lib] CLUnfolder: Fix typos
parent
52075e7c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
library/cadbiom/models/clause_constraints/mcl/CLUnfolder.py
+4
-3
4 additions, 3 deletions
library/cadbiom/models/clause_constraints/mcl/CLUnfolder.py
with
4 additions
and
3 deletions
library/cadbiom/models/clause_constraints/mcl/CLUnfolder.py
+
4
−
3
View file @
546df638
...
@@ -217,10 +217,11 @@ class CLUnfolder(object):
...
@@ -217,10 +217,11 @@ class CLUnfolder(object):
"""
"""
self
.
dynamic_system
=
dynamic_system
# symbolic clause dynamic system
self
.
dynamic_system
=
dynamic_system
# symbolic clause dynamic system
# shift_step equals to the total number of coded variables
# shift_step equals to the total number of coded variables
of the system
# (including inputs, entities, clocks/events, auxiliary variables)
# (including inputs, entities, clocks/events, auxiliary variables)
# shift_step_init: the shift step ss (if n is X_0 code, n+ss is X_1 code)
# shift_step_init: the shift step ss (if n is X_0 code, n+ss is X_1 code)
self
.
shift_step_init
=
dynamic_system
.
get_var_number
()
# shift step of system (number of variables of the system)
self
.
shift_step_init
=
dynamic_system
.
get_var_number
()
self
.
__shift_step
=
self
.
shift_step_init
# current shift/step
self
.
__shift_step
=
self
.
shift_step_init
# current shift/step
# About unfolder lock and shift_step:
# About unfolder lock and shift_step:
...
@@ -1225,7 +1226,7 @@ class CLUnfolder(object):
...
@@ -1225,7 +1226,7 @@ class CLUnfolder(object):
code them into DIMACS clauses constraints (__code_clause()).
code them into DIMACS clauses constraints (__code_clause()).
__code_clause() is susceptible to add new auxiliary numeric variables
__code_clause() is susceptible to add new auxiliary numeric variables
during this process if a variable is not found in __var_code_table
or
during this process if a variable is not found in __var_code_table
and in
__aux_code_table.
__aux_code_table.
- __init_initial_constraint_0, __init_final_constraint_0, __init_invariant_constraint_0
- __init_initial_constraint_0, __init_final_constraint_0, __init_invariant_constraint_0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment