* src/tgba/bddprint.cc, src/tgba/bddprint.hh,
src/tgba/dictunion.hh, src/tgba/ltl2tgba.cc, src/tgba/ltl2tgba.hh, src/tgba/tgbabddconcretefactory.hh, src/tgba/tgbabddconcreteproduct.cc, src/tgba/tgbabddconcreteproduct.hh, src/tgba/tgbabddfactory.hh, src/tgba/tgbabddtranslatefactory.hh, src/tgbaalgos/dotty.cc: Add Doxygen comments.
This commit is contained in:
parent
ddf05b5d47
commit
4146426bfc
12 changed files with 114 additions and 31 deletions
|
|
@ -5,26 +5,53 @@
|
|||
#include "bddfactory.hh"
|
||||
#include "tgbabddfactory.hh"
|
||||
|
||||
namespace spot
|
||||
namespace spot
|
||||
{
|
||||
|
||||
/// Helper class to build a spot::tgba_bdd_concrete object.
|
||||
class tgba_bdd_concrete_factory: public bdd_factory, public tgba_bdd_factory
|
||||
{
|
||||
public:
|
||||
virtual ~tgba_bdd_concrete_factory();
|
||||
|
||||
int create_state(const ltl::formula* f);
|
||||
|
||||
/// Create a state variable for formula \a f.
|
||||
///
|
||||
/// \param f The formula to create a state for.
|
||||
/// \return The variable number for this state.
|
||||
///
|
||||
/// The state is not created if it already exists. Instead its
|
||||
/// existing variable number is returned. Variable numbers
|
||||
/// can be turned into BDD using ithvar().
|
||||
int create_state(const ltl::formula* f);
|
||||
|
||||
/// Create an atomic proposition variable for formula \a f.
|
||||
///
|
||||
/// \param f The formula to create an aotmic proposition for.
|
||||
/// \return The variable number for this state.
|
||||
///
|
||||
/// The atomic proposition is not created if it already exists.
|
||||
/// Instead its existing variable number is returned. Variable numbers
|
||||
/// can be turned into BDD using ithvar().
|
||||
int create_atomic_prop(const ltl::formula* f);
|
||||
|
||||
/// Create a promise variable for formula \a f.
|
||||
///
|
||||
/// \param f The formula to create a promise for.
|
||||
/// \return The variable number for this state.
|
||||
///
|
||||
/// The promise is not created if it already exists. Instead its
|
||||
/// existing variable number is returned. Variable numbers
|
||||
/// can be turned into BDD using ithvar().
|
||||
int create_promise(const ltl::formula* f);
|
||||
|
||||
|
||||
const tgba_bdd_core_data& get_core_data() const;
|
||||
const tgba_bdd_dict& get_dict() const;
|
||||
|
||||
|
||||
/// Add a new constraint to the relation.
|
||||
void add_relation(bdd new_rel);
|
||||
|
||||
|
||||
private:
|
||||
tgba_bdd_core_data data_;
|
||||
tgba_bdd_dict dict_;
|
||||
tgba_bdd_core_data data_; ///< Core data for the new automata.
|
||||
tgba_bdd_dict dict_; ///< Dictionary for the new automata.
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue