tgba_digraph: force selection of properties kept on copy
* src/tgba/tgba.hh: Declare a prop_set to specify the types. * src/tgba/tgbagraph.hh: Use prop_set for all copy constructors. * iface/ltsmin/ltsmin.cc, src/bin/autfilt.cc, src/bin/randaut.cc, src/tgbaalgos/are_isomorphic.cc, src/tgbaalgos/closure.cc, src/tgbaalgos/complete.cc, src/tgbaalgos/degen.cc, src/tgbaalgos/dotty.cc, src/tgbaalgos/dtgbacomp.cc, src/tgbaalgos/dupexp.cc, src/tgbaalgos/dupexp.hh, src/tgbaalgos/sccfilter.cc, src/tgbaalgos/simulation.cc, src/tgbaalgos/stutterize.cc, src/tgbatest/checkpsl.cc, src/tgbatest/emptchk.cc, src/tgbatest/ltl2tgba.cc, wrap/python/spot.i,src/graphtest/tgbagraph.test: Adjust all uses.
This commit is contained in:
parent
77cb836e47
commit
87c2b291ed
21 changed files with 309 additions and 162 deletions
|
|
@ -328,7 +328,7 @@ spot::tgba_digraph_ptr ensure_digraph(const spot::tgba_ptr& a)
|
|||
auto aa = std::dynamic_pointer_cast<spot::tgba_digraph>(a);
|
||||
if (aa)
|
||||
return aa;
|
||||
return spot::make_tgba_digraph(a);
|
||||
return spot::make_tgba_digraph(a, spot::tgba::prop_set::all());
|
||||
}
|
||||
|
||||
int
|
||||
|
|
@ -1436,10 +1436,10 @@ checked_main(int argc, char** argv)
|
|||
case NoneDup:
|
||||
break;
|
||||
case BFS:
|
||||
a = tgba_dupexp_bfs(a);
|
||||
a = tgba_dupexp_bfs(a, spot::tgba::prop_set::all());
|
||||
break;
|
||||
case DFS:
|
||||
a = tgba_dupexp_dfs(a);
|
||||
a = tgba_dupexp_dfs(a, spot::tgba::prop_set::all());
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue