spot  1.2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
dve2.hh
1 // Copyright (C) 2011, 2013 Laboratoire de Recherche et Developpement
2 // de l'Epita (LRDE)
3 //
4 // This file is part of Spot, a model checking library.
5 //
6 // Spot is free software; you can redistribute it and/or modify it
7 // under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 3 of the License, or
9 // (at your option) any later version.
10 //
11 // Spot is distributed in the hope that it will be useful, but WITHOUT
12 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 // License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program. If not, see <http://www.gnu.org/licenses/>.
18 
19 #ifndef SPOT_IFACE_DVE2_DVE2_HH
20 # define SPOT_IFACE_DVE2_DVE2_HH
21 
22 #include "kripke/kripke.hh"
23 #include "ltlvisit/apcollect.hh"
24 #include "ltlast/constant.hh"
25 
26 
27 namespace spot
28 {
29 
30  // \brief Load a DVE model.
31  //
32  // The filename given can be either a *.dve source or a *.dve2C
33  // dynamic library compiled with "divine compile --ltsmin file".
34  // When the *.dve source is supplied, the *.dve2C will be updated
35  // only if it is not newer.
36  //
37  // The dead parameter is used to control the behavior of the model
38  // on dead states (i.e. the final states of finite sequences).
39  // If DEAD is "false", it means we are not
40  // interested in finite sequences of the system, and dead state
41  // will have no successor. If DEAD is
42  // "true", we want to check finite sequences as well as infinite
43  // sequences, but do not need to distinguish them. In that case
44  // dead state will have a loop labeled by true. If DEAD is any
45  // other string, this is the name a property that should be true
46  // when looping on a dead state, and false otherwise.
47  //
48  // This function returns 0 on error.
49  //
50  // \a file the name of the *.dve source file or of the *.dve2C
51  // dynamic library
52  // \a to_observe the list of atomic propositions that should be observed
53  // in the model
54  // \a dict the BDD dictionary to use
55  // \a dead an atomic proposition or constant to use for looping on
56  // dead states
57  // \a verbose whether to output verbose messages
58  SPOT_API kripke*
59  load_dve2(const std::string& file, bdd_dict* dict,
60  const ltl::atomic_prop_set* to_observe,
61  const ltl::formula* dead = ltl::constant::true_instance(),
62  int compress = 0, bool verbose = true);
63 }
64 
65 #endif // SPOT_IFACE_DVE2_DVE2_HH

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Thu May 15 2014 11:04:10 for spot by doxygen 1.8.4