Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
f006f0df
Commit
f006f0df
authored
May 13, 2015
by
Alexandre Duret-Lutz
Browse files
* src/twaalgos/isunamb.cc: Simplify.
parent
8c32fba8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/twaalgos/isunamb.cc
View file @
f006f0df
...
...
@@ -20,7 +20,6 @@
#include
"isunamb.hh"
#include
"twaalgos/product.hh"
#include
"sccfilter.hh"
#include
"stats.hh"
#include
<set>
#include
<list>
...
...
@@ -33,9 +32,8 @@ namespace spot
auto
clean_a
=
scc_filter_states
(
aut
);
auto
prod
=
product
(
clean_a
,
clean_a
);
auto
clean_p
=
scc_filter_states
(
prod
);
tgba_statistics
sa
=
stats_reachable
(
clean_a
);
tgba_statistics
sp
=
stats_reachable
(
clean_p
);
return
sa
.
states
==
sp
.
states
&&
sa
.
transitions
==
sp
.
transitions
;
return
clean_a
->
num_states
()
==
clean_p
->
num_states
()
&&
clean_a
->
num_transitions
()
==
clean_p
->
num_transitions
();
}
bool
check_unambiguous
(
const
twa_graph_ptr
&
aut
)
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment