spot  2.9.4
contain.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2011-2016, 2019 Laboratoire de Recherche
3 // et Développement de l'Epita (LRDE).
4 // Copyright (C) 2006 Laboratoire d'Informatique de Paris 6 (LIP6),
5 // département Systèmes Répartis Coopératifs (SRC), Université Pierre
6 // et Marie Curie.
7 //
8 // This file is part of Spot, a model checking library.
9 //
10 // Spot is free software; you can redistribute it and/or modify it
11 // under the terms of the GNU General Public License as published by
12 // the Free Software Foundation; either version 3 of the License, or
13 // (at your option) any later version.
14 //
15 // Spot is distributed in the hope that it will be useful, but WITHOUT
16 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
17 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
18 // License for more details.
19 //
20 // You should have received a copy of the GNU General Public License
21 // along with this program. If not, see <http://www.gnu.org/licenses/>.
22 
23 #pragma once
24 
25 #include <spot/tl/formula.hh>
26 #include <spot/twa/bdddict.hh>
27 
28 namespace spot
29 {
30  class tl_simplifier_cache;
31 
34  {
35  struct record_;
36  struct trans_map_;
37  public:
40  language_containment_checker(bdd_dict_ptr dict = make_bdd_dict(),
41  bool exprop = false,
42  bool symb_merge = true,
43  bool branching_postponement = false,
44  bool fair_loop_approx = false);
45 
47 
49  void clear();
50 
52  bool contained(formula l, formula g);
54  bool neg_contained(formula l, formula g);
56  bool contained_neg(formula l, formula g);
57 
59  bool equal(formula l, formula g);
60 
61  protected:
62  bool incompatible_(record_* l, record_* g);
63 
64  record_* register_formula_(formula f);
65 
66  /* Translation options */
67  bdd_dict_ptr dict_;
68  bool exprop_;
69  bool symb_merge_;
70  bool branching_postponement_;
71  bool fair_loop_approx_;
72  /* Translation Maps */
73  trans_map_* translated_;
74  tl_simplifier_cache* c_;
75  };
76 }
Definition: automata.hh:26
LTL/PSL formula interface.
Main class for temporal logic formula.
Definition: formula.hh:714
Check containment between LTL formulae.
Definition: contain.hh:33

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Fri Feb 27 2015 10:00:07 for spot by doxygen 1.8.13