* src/tgbaalgos/emptiness.hh, src/tgbaalgos/emptiness.cc
(emptiness_check_instantiator): New class. * src/misc/optionmap.hh (set (const option_map&)): New method. * src/tgbatest/randtgba.cc: Create every emptiness check via emptiness_check_instantiator.
This commit is contained in:
parent
435b03c2b2
commit
4e1916ec50
7 changed files with 239 additions and 64 deletions
|
|
@ -134,6 +134,14 @@ namespace spot
|
|||
return old;
|
||||
}
|
||||
|
||||
void
|
||||
option_map::set(const option_map& o)
|
||||
{
|
||||
for (std::map<std::string, int>::const_iterator it = o.options_.begin();
|
||||
it != o.options_.end(); ++it)
|
||||
options_[it->first] = it->second;
|
||||
}
|
||||
|
||||
int&
|
||||
option_map::operator[](const char* option)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -70,6 +70,9 @@ namespace spot
|
|||
/// or \a def otherwise.
|
||||
int set(const char* option, int val, int def = 0);
|
||||
|
||||
/// Acquire all the settings of \a o.
|
||||
void set(const option_map& o);
|
||||
|
||||
/// \brief Get a reference to the current value of \a option.
|
||||
int& operator[](const char* option);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue