spot  0.9.2
dve2.hh
Go to the documentation of this file.
1 // Copyright (C) 2011 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 2 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 Spot; see the file COPYING. If not, write to the Free
18 // Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19 // 02111-1307, USA.
20 
21 #ifndef SPOT_IFACE_DVE2_DVE2_HH
22 # define SPOT_IFACE_DVE2_DVE2_HH
23 
24 #include "kripke/kripke.hh"
25 #include "ltlvisit/apcollect.hh"
26 #include "ltlast/constant.hh"
27 
28 
29 namespace spot
30 {
31 
32  // \brief Load a DVE model.
33  //
34  // The filename given can be either a *.dve source or a *.dve2C
35  // dynamic library compiled with "divine compile --ltsmin file".
36  // When the *.dve source is supplied, the *.dve2C will be updated
37  // only if it is not newer.
38  //
39  // The dead parameter is used to control the behavior of the model
40  // on dead states (i.e. the final states of finite sequences).
41  // If DEAD is "false", it means we are not
42  // interested in finite sequences of the system, and dead state
43  // will have no successor. If DEAD is
44  // "true", we want to check finite sequences as well as infinite
45  // sequences, but do not need to distinguish them. In that case
46  // dead state will have a loop labeled by true. If DEAD is any
47  // other string, this is the name a property that should be true
48  // when looping on a dead state, and false otherwise.
49  //
50  // This function returns 0 on error.
51  //
52  // \a file the name of the *.dve source file or of the *.dve2C
53  // dynamic library
54  // \a to_observe the list of atomic propositions that should be observed
55  // in the model
56  // \a dict the BDD dictionary to use
57  // \a dead an atomic proposition or constant to use for looping on
58  // dead states
59  // \a verbose whether to output verbose messages
60  kripke* load_dve2(const std::string& file,
61  bdd_dict* dict,
62  const ltl::atomic_prop_set* to_observe,
63  const ltl::formula* dead = ltl::constant::true_instance(),
64  int compress = 0,
65  bool verbose = true);
66 }
67 
68 #endif // SPOT_IFACE_DVE2_DVE2_HH

Please comment this page and report errors about it on the RefDocComments page.
Generated on Mon Jul 2 2012 17:35:47 for spot by doxygen 1.8.1.1