* src/tgbaalgos/gtec/status.hh
(couvreur99_check_status::cycle_seed): New attribute. * src/tgbaalgos/gtec/gtec.cc (couvreur99_check::check, couvreur99_check_shy::check): Fill cycle_seed. * src/tgbaalgos/gtec/ce.hh, src/tgbaalgos/gtec/ce.cc: (couvreur99_check_result::accepting_run, couvreur99_check_result::accepting_cycle): Revamp to compute a cycle from the cycle_start, and then the shortest prefix to this cycle.
This commit is contained in:
parent
27966c28f0
commit
abbd0eee07
8 changed files with 154 additions and 139 deletions
|
|
@ -263,7 +263,11 @@ main(int argc, char **argv)
|
|||
ce = new spot::couvreur99_check_result(ecs);
|
||||
break;
|
||||
default:
|
||||
ce = spot::counter_example_ssp(ecs);
|
||||
// ce = spot::counter_example_ssp(ecs);
|
||||
std::cerr
|
||||
<< "counter_example_ssp() is no longer supported"
|
||||
<< std::endl;
|
||||
exit(1);
|
||||
}
|
||||
#endif
|
||||
spot::tgba_run* run = ce->accepting_run();
|
||||
|
|
|
|||
|
|
@ -1003,6 +1003,10 @@ namespace spot
|
|||
return new couvreur99_check_shy_ssp(ssp_automata);
|
||||
}
|
||||
|
||||
#if 0
|
||||
// I rewrote couvreur99_check_result today, and it no longer use
|
||||
// connected_component_ssp_factory. So this cannot work anymore.
|
||||
// -- adl 2004-12-10.
|
||||
couvreur99_check_result*
|
||||
counter_example_ssp(const couvreur99_check_status* status)
|
||||
{
|
||||
|
|
@ -1010,4 +1014,5 @@ namespace spot
|
|||
couvreur99_check_result(status,
|
||||
connected_component_ssp_factory::instance());
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,9 +55,13 @@ namespace spot
|
|||
couvreur99_check* couvreur99_check_ssp_shy_semi(const tgba* ssp_automata);
|
||||
couvreur99_check* couvreur99_check_ssp_shy(const tgba* ssp_automata);
|
||||
|
||||
couvreur99_check_result*
|
||||
counter_example_ssp(const couvreur99_check_status* status);
|
||||
/// @}
|
||||
|
||||
// I rewrote couvreur99_check_result today, and it no longer use
|
||||
// connected_component_ssp_factory. So this cannot work anymore.
|
||||
// -- adl 2004-12-10.
|
||||
// couvreur99_check_result*
|
||||
// counter_example_ssp(const couvreur99_check_status* status);
|
||||
}
|
||||
|
||||
#endif // SPOT_IFACE_GSPN_SSP_GSPN_SSP_HH
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue