Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
Alnos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Michele Volpato
Alnos
Commits
f098d570
Commit
f098d570
authored
Nov 25, 2015
by
Michele
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if table is deterministic, there is no need to check hPlus because hMinus == hPlus
parent
90600f0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
learning/observationtable.py
learning/observationtable.py
+9
-2
No files found.
learning/observationtable.py
View file @
f098d570
...
...
@@ -290,7 +290,10 @@ class Table:
# priority to hMinus suffixes
return
newSuffixes
else
:
# If the table is complete, no need to check hPlus (hPlus == hMinus)
if
self
.
getObservableTraces
()
!=
set
():
return
self
.
_isNotReducible
(
chaos
=
True
)
return
set
()
def
_isNotReducible
(
self
,
chaos
=
False
):
# function used for filtering rows, we want only those which
...
...
@@ -428,7 +431,11 @@ class Table:
# priority to hMinus suffixes
return
newSuffixes
else
:
# If the table is complete, no need to check hPlus (hPlus == hMinus)
if
self
.
getObservableTraces
()
!=
set
():
return
self
.
_isNotConsistent
(
chaos
=
True
)
return
set
()
def
_isNotConsistent
(
self
,
chaos
=
False
):
# get all combinations of rows in S, with repetitions for hPlus
...
...
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