Downcase a couple of misnamed class names.
* src/misc/acccompl.hh, src/misc/acccompl.cc (AccCompl): Rename to acc_compl. * src/tgbaalgos/simulation.cc (AccComplAutomaton, Simulation): Rename to acc_compl_automaton and direct_simulation. At the same time, reindent the whole file. * src/sanity/style.test: Detect capitalized class names. * src/kripke/kripkeexplicit.hh (KripkePrint): Remove useless predeclaration. * src/tgbaalgos/simulation.hh: Typo in comment.
This commit is contained in:
parent
dadfbdad9d
commit
db4693b303
6 changed files with 329 additions and 326 deletions
|
|
@ -34,7 +34,7 @@ namespace spot
|
|||
// we need to know wich one is go to one when true. So we are looping
|
||||
// through the conditions until bdd_high is true.
|
||||
// Once found, we keep only it.
|
||||
bdd AccCompl::complement(const bdd acc)
|
||||
bdd acc_compl::complement(const bdd acc)
|
||||
{
|
||||
bdd_cache_t::const_iterator it = cache_.find(acc);
|
||||
if (it != cache_.end())
|
||||
|
|
@ -70,7 +70,7 @@ namespace spot
|
|||
}
|
||||
|
||||
|
||||
bdd AccCompl::reverse_complement(const bdd acc)
|
||||
bdd acc_compl::reverse_complement(const bdd acc)
|
||||
{
|
||||
// We are sure that if we have no acceptance condition
|
||||
// the result is all_.
|
||||
|
|
|
|||
|
|
@ -30,14 +30,14 @@
|
|||
|
||||
namespace spot
|
||||
{
|
||||
/// \brief Help class to convert a bdd of an automaton into
|
||||
/// its complement.
|
||||
/// This is used when you need to complement all the acceptance
|
||||
/// conditions in an automaton. For example in the simulation.
|
||||
class AccCompl
|
||||
/// \brief Helper class to convert acceptance conditions into promises
|
||||
///
|
||||
/// A set of acceptance conditions represented by the sum "à la Spot",
|
||||
/// is converted into a product of promises.
|
||||
class acc_compl
|
||||
{
|
||||
public:
|
||||
AccCompl(bdd all, bdd neg)
|
||||
acc_compl(bdd all, bdd neg)
|
||||
: all_(all),
|
||||
neg_(neg)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue