- 28 May, 2009 4 commits
-
-
Alexandre Duret-Lutz authored
values. Before this change states were numbered using positive values and SCCs using negative values. That meant the user had to work with negative values. With this changes, the nonnegative values used to label SCCs can also directly be used as index in the scc_map_. * src/tgbaalgos/scc.hh (scc_map::scc_of_state, scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of, scc_map::initial, scc_map::scc_type, scc_map::succ, scc_map::accepting): Adjust prototypes to take or return unsigned arguments. * src/tgbaalgos/scc.cc: Adjust prototypes of the above functions. (scc_map::build_map, scc_map::relabel_component): Number states using negative values, and SCCs using nonnegative values. (dump_scc_dot): Adjust to use nonnegative values.
-
Alexandre Duret-Lutz authored
point in using a map since the SCC are numbered in sequence. * src/tgbaalgos/scc.hh (scc_map::relabel_component): Return the number of the SCC instead of taking it as argument. (scc_map::scc_num_): Delete this variable. scc_map_.size() gives the same information. (scc_map::scc_map_type): Define using std::vector instead of std::map. * src/tgbaalgos/scc.cc: Adjust all uses.
-
Alexandre Duret-Lutz authored
* src/tgbaalgos/scc.hh (scc_map::scc_of_state, scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of): New functions. (scc_map::scc::conds): New attribute. (dump_scc_dot): Take an optional VERBOSE argument. * src/tgbaalgos/scc.cc (scc_map::scc_of_state, scc_map::cond_set_of, scc_map::acc_set_of, scc_map::states_of): Implement these new functions. (dump_scc_dot): Display number of states, conditions and acceptance conditions, with VERBOSE is set. (build_map): Fill the new scc_map::scc::cond field.
-
Alexandre Duret-Lutz authored
-
- 11 Dec, 2008 2 commits
-
-
Alexandre Duret-Lutz authored
-
Alexandre Duret-Lutz authored
-
- 10 Dec, 2008 1 commit
-
-
Alexandre Duret-Lutz authored
-