22 #ifndef SPOT_LTLAST_AUTOMATOP_HH
23 # define SPOT_LTLAST_AUTOMATOP_HH
42 typedef std::vector<const formula*>
vec;
51 instance(
const nfa::ptr
nfa,
vec* v,
bool negated);
53 virtual void accept(
visitor& v)
const;
56 unsigned size()
const;
60 const formula* nth(
unsigned n)
const;
63 const spot::ltl::nfa::ptr get_nfa()
const;
66 bool is_negated()
const;
69 std::string
dump()
const;
72 static unsigned instance_count();
75 static std::ostream& dump_instances(std::ostream& os);
79 typedef std::pair<std::pair<nfa::ptr, bool>,
vec*> triplet;
84 operator()(
const triplet& p1,
const triplet& p2)
const
86 if (p1.first.first != p2.first.first)
87 return p1.first.first < p2.first.first;
88 if (p1.first.second != p2.first.second)
89 return p1.first.second < p2.first.second;
90 return *p1.second < *p2.second;
93 typedef std::map<triplet, const automatop*, tripletcmp> map;
107 #endif // SPOT_LTLAST_AUTOMATOP_HH
NFA interface used by automatop.
Formula visitor.
Definition: visitor.hh:41
Comparison functor used internally by ltl::automatop.
Definition: automatop.hh:81
Nondeterministic Finite Automata used by automata operators.
Definition: nfa.hh:50
std::vector< const formula * > vec
List of formulae.
Definition: automatop.hh:42
Automaton operators.
Definition: automatop.hh:38
SPOT_API std::ostream & dump(std::ostream &os, const formula *f)
Dump a formula tree.