spot  1.99.3
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
spot::kripke_explicit Class Reference

Kripke Structure. More...

#include <kripke/kripkeexplicit.hh>

Inheritance diagram for spot::kripke_explicit:
Inheritance graph
Collaboration diagram for spot::kripke_explicit:
Collaboration graph

Public Member Functions

 kripke_explicit (const bdd_dict_ptr &, state_kripke *=nullptr)
 
state_kripkeget_init_state () const
 Get the initial state of the automaton. More...
 
kripke_explicit_succ_iteratorsucc_iter (const spot::state *state) const
 Allow to get an iterator on the state we passed in parameter. More...
 
bdd state_condition (const state *s) const
 Get the condition on the state. More...
 
bdd state_condition (const std::string &) const
 Get the condition on the state. More...
 
std::string format_state (const state *) const
 Return the name of the state. More...
 
void add_state (std::string)
 Create state, if it does not already exists. More...
 
void add_transition (std::string source, std::string dest)
 Add a transition between two states. More...
 
void add_conditions (bdd add, std::string on_me)
 Add a BDD condition to the state. More...
 
void add_condition (const ltl::formula *f, std::string on_me)
 Add a formula to the state corresponding to the name. More...
 
const std::map< const
state_kripke *, std::string > & 
sn_get () const
 Return map between states and their names. More...
 
virtual acc_cond::mark_t state_acceptance_conditions (const state *) const
 The set of acceptance conditions that label the state s. More...
 

Protected Member Functions

virtual bdd compute_support_conditions (const state *s) const
 

Protected Attributes

twa_succ_iteratoriter_cache_
 
bdd_dict_ptr dict_
 

Detailed Description

Kripke Structure.

Member Function Documentation

void spot::kripke_explicit::add_condition ( const ltl::formula f,
std::string  on_me 
)

Add a formula to the state corresponding to the name.

Parameters
fthe formula to add.
on_methe state where to add.
void spot::kripke_explicit::add_conditions ( bdd  add,
std::string  on_me 
)

Add a BDD condition to the state.

Parameters
addthe condition.
on_mewhere add the condition.
void spot::kripke_explicit::add_state ( std::string  )

Create state, if it does not already exists.

Used by the parser.

void spot::kripke_explicit::add_transition ( std::string  source,
std::string  dest 
)

Add a transition between two states.

std::string spot::kripke_explicit::format_state ( const state ) const

Return the name of the state.

state_kripke* spot::kripke_explicit::get_init_state ( ) const
virtual

Get the initial state of the automaton.

The state has been allocated with new. It is the responsability of the caller to destroy it when no longer needed.

Implements spot::twa.

const std::map<const state_kripke*, std::string>& spot::kripke_explicit::sn_get ( ) const

Return map between states and their names.

virtual acc_cond::mark_t spot::kripke::state_acceptance_conditions ( const state s) const
virtualinherited

The set of acceptance conditions that label the state s.

Implements spot::fair_kripke.

bdd spot::kripke_explicit::state_condition ( const state s) const
virtual

Get the condition on the state.

Implements spot::fair_kripke.

bdd spot::kripke_explicit::state_condition ( const std::string &  ) const

Get the condition on the state.

kripke_explicit_succ_iterator* spot::kripke_explicit::succ_iter ( const spot::state state) const
virtual

Allow to get an iterator on the state we passed in parameter.

Implements spot::twa.


The documentation for this class was generated from the following file:

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Wed Aug 26 2015 08:42:37 for spot by doxygen 1.8.8