spot  0.9.1
Public Member Functions | Protected Attributes | Private Types
spot::ltl::unabbreviate_ltl_visitor Class Reference

Clone and rewrite a formula to remove most of the abbreviated LTL and logical operators.The rewriting performed on logical operator is the same as the one done by spot::ltl::unabbreviate_logic_visitor. More...

#include <ltlvisit/tunabbrev.hh>

Inheritance diagram for spot::ltl::unabbreviate_ltl_visitor:
Inheritance graph
[legend]
Collaboration diagram for spot::ltl::unabbreviate_ltl_visitor:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 unabbreviate_ltl_visitor ()
virtual ~unabbreviate_ltl_visitor ()
void visit (const unop *uo)
const formularecurse (const formula *f)
void visit (const binop *bo)
void visit (const atomic_prop *ap)
void visit (const automatop *mo)
void visit (const multop *mo)
void visit (const constant *c)
void visit (const bunop *c)
const formularesult () const

Protected Attributes

const formularesult_

Private Types

typedef unabbreviate_logic_visitor super

Detailed Description

Clone and rewrite a formula to remove most of the abbreviated LTL and logical operators.

The rewriting performed on logical operator is the same as the one done by spot::ltl::unabbreviate_logic_visitor.

This will also rewrite unary operators such as unop::F, and unop::G, using only binop::U, and binop::R.

This visitor is public, because it's convenient to derive from it and override some of its methods. But if you just want the functionality, consider using spot::ltl::unabbreviate_ltl instead.


Member Typedef Documentation


Constructor & Destructor Documentation


Member Function Documentation

const formula* spot::ltl::clone_visitor::result ( ) const [inherited]
void spot::ltl::clone_visitor::visit ( const atomic_prop ap) [virtual, inherited]

Implements spot::ltl::visitor.

void spot::ltl::clone_visitor::visit ( const automatop mo) [virtual, inherited]

Implements spot::ltl::visitor.

void spot::ltl::clone_visitor::visit ( const multop mo) [virtual, inherited]

Implements spot::ltl::visitor.

void spot::ltl::unabbreviate_logic_visitor::visit ( const binop bo) [virtual, inherited]

Reimplemented from spot::ltl::clone_visitor.

void spot::ltl::clone_visitor::visit ( const constant c) [virtual, inherited]

Implements spot::ltl::visitor.

void spot::ltl::clone_visitor::visit ( const bunop c) [virtual, inherited]

Implements spot::ltl::visitor.

void spot::ltl::unabbreviate_ltl_visitor::visit ( const unop uo) [virtual]

Reimplemented from spot::ltl::clone_visitor.


Member Data Documentation

const formula* spot::ltl::clone_visitor::result_ [protected, inherited]

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

Please comment this page and report errors about it on the RefDocComments page.
Generated on Wed May 23 2012 12:06:47 for spot by doxygen 1.7.6.1