* src/tgbaalgos/lbtt.cc (bdd_less_than): Move ...

* src/misc/bddlt.hh: ... in this new file.
* src/misc/Makefile.am (misc_HEADERS): Add bddlt.hh.
This commit is contained in:
Alexandre Duret-Lutz 2003-07-25 14:32:50 +00:00
parent d0a7a3ab54
commit 5bc2d77e60
4 changed files with 25 additions and 9 deletions

19
src/misc/bddlt.hh Normal file
View file

@ -0,0 +1,19 @@
#ifndef SPOT_MISC_BDDLT_HH
# define SPOT_MISC_BDDLT_HH
# include <bdd.h>
namespace spot
{
/// Comparison functor for BDDs.
struct bdd_less_than
{
bool
operator()(const bdd& left, const bdd& right) const
{
return left.id() < right.id();
}
};
}
#endif // SPOT_MISC_BDDLT_HH