Commit a59b9aa7 authored by Alexandre Duret-Lutz's avatar Alexandre Duret-Lutz
Browse files

* src/tgbaalgos/colordfs.hh, src/tgbaalgos/minimalce.cc,

src/tgbaalgos/minimalce.hh, src/tgbaalgos/nesteddfs.hh,
src/tgbaalgos/tarjan_on_fly.hh, src/tgbatest/ltl2tgba.cc: Rename
emptyness_search to emptiness_search.
parent c30823f7
2004-09-21 Alexandre Duret-Lutz <adl@src.lip6.fr>
* src/tgbaalgos/colordfs.hh, src/tgbaalgos/minimalce.cc,
src/tgbaalgos/minimalce.hh, src/tgbaalgos/nesteddfs.hh,
src/tgbaalgos/tarjan_on_fly.hh, src/tgbatest/ltl2tgba.cc: Rename
emptyness_search to emptiness_search.
* src/sanity/style.test: Warn about places where size() is used
instead of empty().
* src/misc/bddalloc.cc (bdd_allocator::extend): Use empty() rather
......
......@@ -31,7 +31,7 @@
namespace spot
{
class colordfs_search: public emptyness_search
class colordfs_search: public emptiness_search
{
public:
/// Initialize the Colordfs Search algorithm on the automaton \a a.
......
......@@ -191,12 +191,12 @@ namespace spot
}
/////////////////////////////////////////////////////////////////////////////
// The base interface for build a emptyness search algorithm
emptyness_search::emptyness_search()
// The base interface for build a emptiness search algorithm
emptiness_search::emptiness_search()
{
}
emptyness_search::~emptyness_search()
emptiness_search::~emptiness_search()
{
}
......@@ -215,7 +215,7 @@ namespace spot
*/
std::ostream&
emptyness_search::print_stat(std::ostream& os) const
emptiness_search::print_stat(std::ostream& os) const
{
return os;
}
......
......@@ -77,14 +77,14 @@ namespace spot
}
/////////////////////////////////////////////////////////////////////////////
// The base interface for build a emptyness search algorithm
class emptyness_search
// The base interface to build an emptiness check algorithm
class emptiness_search
{
protected:
emptyness_search();
emptiness_search();
public:
virtual ~emptyness_search();
virtual ~emptiness_search();
virtual ce::counter_example* check() = 0;
/// \brief Print Stat.
virtual std::ostream& print_stat(std::ostream& os) const;
......@@ -93,7 +93,7 @@ namespace spot
/////////////////////////////////////////////////////////////////////////////
// Perform a minimal search
class minimalce_search: public emptyness_search
class minimalce_search: public emptiness_search
{
public:
//minimalce_search(const tgba_tba_proxy *a, bool mode = false);
......
......@@ -41,7 +41,7 @@ namespace spot
};
*/
class nesteddfs_search: public emptyness_search
class nesteddfs_search: public emptiness_search
{
public:
......
......@@ -33,7 +33,7 @@
namespace spot
{
class tarjan_on_fly: public emptyness_search
class tarjan_on_fly: public emptiness_search
{
public:
......
......@@ -180,7 +180,7 @@ main(int argc, char** argv)
NestedDFSSearch, NestedDFSSearchModify, ColorDFSSearch,
TarjanOnFly, MinimalSearch, MinimalSearchIterative,
NestedGeneSearch} echeck = None;
spot::emptyness_search* es = 0;
spot::emptiness_search* es = 0;
spot::search_opt opt_nested_search = spot::magic;
enum { NoneDup, BFS, DFS } dupexp = NoneDup;
bool magic_many = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment