spot  1.99.3
 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 const ltl::formula *&s)
 
void set_init_state (const std::vector< const ltl::formula * > &s)
 
transitioncreate_transition (const const ltl::formula *&s, const std::vector< const ltl::formula * > &d)
 
transitioncreate_transition (const const ltl::formula *&s, const const ltl::formula *&d)
 
void add_acceptance_condition (transition *t, const ltl::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, const ltl::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 const ltl::formulalabel_t
 
typedef std::unordered_map
< const ltl::formula
*, taa_tgba::state * > 
ns_map
 
typedef std::unordered_map
< const taa_tgba::state
*, const ltl::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 const ltl::formulaclone_if (const label_t &label) const
 Clone the label if necessary to assure it is owned by this, avoiding memory issues when label is a pointer. 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< const ltl::formula
*, acc_cond::mark_t,
ltl::formula_ptr_less_than
acc_map_
 
twa_succ_iteratoriter_cache_
 
bdd_dict_ptr dict_
 

Member Function Documentation

virtual const ltl::formula* spot::taa_tgba_formula::clone_if ( const label_t lbl) const
protectedvirtual

Clone the label if necessary to assure it is owned by this, avoiding memory issues when label is a pointer.

Implements spot::taa_tgba_labelled< const ltl::formula * >.

virtual std::string spot::taa_tgba_labelled< const ltl::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< const ltl::formula * >.

void spot::taa_tgba_labelled< const ltl::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 Wed Aug 26 2015 08:42:38 for spot by doxygen 1.8.8