* src/tgbaalgos/ndfs_result.hxx (ndfs_result, acss_interface):

Conditionally inherit from acss_statistics.
* src/tgbaalgos/magic.cc, src/tgbaalgos/se05.cc, src/tgbaalgos/tau03.cc,
src/tgbaalgos/tau03opt.cc: Define Has_Size in all heaps.
This commit is contained in:
Alexandre Duret-Lutz 2005-01-07 10:27:17 +00:00
parent 603b49e216
commit 7c07f3149f
6 changed files with 42 additions and 19 deletions

View file

@ -387,6 +387,7 @@ namespace spot
return (it != h.end());
}
enum { Has_Size = 1 };
int size() const
{
return h.size();
@ -461,12 +462,7 @@ namespace spot
return color((h[ha%size_] >> ((ha%4)*2)) & 3U) != WHITE;
}
int size() const
{
// this method must return the number of state stored in the heap. Due
// to potential conflicts this size cannot be computed.
return 0;
}
enum { Has_Size = 0 };
private:
size_t size_;