spot  1.99.4
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
spot::taa_tgba_formula Class Referencefinal
Inheritance diagram for spot::taa_tgba_formula:
Inheritance graph
Collaboration diagram for spot::taa_tgba_formula:
Collaboration graph

Public Types

typedef std::list< transition * > state
 
typedef std::set< state * > state_set
 

Public Member Functions

 taa_tgba_formula (const bdd_dict_ptr &dict)
 
void set_init_state (const formula &s)
 
void set_init_state (const std::vector< formula > &s)
 
transitioncreate_transition (const formula &s, const std::vector< formula > &d)
 
transitioncreate_transition (const formula &s, const formula &d)
 
void add_acceptance_condition (transition *t, formula f)
 
virtual std::string format_state (const spot::state *s) const
 Format the state as a string for printing. More...
 
void output (std::ostream &os) const
 Output a TAA in a stream. More...
 
void add_condition (transition *t, formula f)
 
virtual spot::stateget_init_state () const final
 Get the initial state of the automaton. More...
 
virtual twa_succ_iteratorsucc_iter (const spot::state *state) const final
 Get an iterator over the successors of local_state. More...
 

Protected Types

typedef formula label_t
 
typedef std::unordered_map
< formula, taa_tgba::state * > 
ns_map
 
typedef std::unordered_map
< const taa_tgba::state
*, formula, ptr_hash
< taa_tgba::state > > 
sn_map
 
typedef std::vector
< taa_tgba::state_set * > 
ss_vec
 

Protected Member Functions

virtual std::string label_to_string (const label_t &label) const
 Return a label as a string. More...
 
virtual bdd compute_support_conditions (const spot::state *state) const final
 

Protected Attributes

ns_map name_state_map_
 
sn_map state_name_map_
 
taa_tgba::state_set * init_
 
ss_vec state_set_vec_
 
std::map< formula,
acc_cond::mark_t
acc_map_
 
twa_succ_iteratoriter_cache_
 
bdd_dict_ptr dict_
 

Member Function Documentation

virtual std::string spot::taa_tgba_labelled< formula >::format_state ( const spot::state s) const
inlinevirtualinherited

Format the state as a string for printing.

If state is a spot::set_state of only one element, then the string corresponding to state->get_state() is returned.

Otherwise a string composed of each string corresponding to each state->get_state() in the spot::set_state is returned, e.g. like {string_1,...,string_n}.

Implements spot::taa_tgba.

virtual spot::state* spot::taa_tgba::get_init_state ( ) const
finalvirtualinherited

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.

virtual std::string spot::taa_tgba_formula::label_to_string ( const label_t lbl) const
protectedvirtual

Return a label as a string.

Implements spot::taa_tgba_labelled< formula >.

void spot::taa_tgba_labelled< formula >::output ( std::ostream &  os) const
inlineinherited

Output a TAA in a stream.

virtual twa_succ_iterator* spot::taa_tgba::succ_iter ( const spot::state local_state) const
finalvirtualinherited

Get an iterator over the successors of local_state.

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

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 Thu Oct 1 2015 05:49:15 for spot by doxygen 1.8.8