spot  1.99.4a
spins.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2015 Laboratoire de Recherche et
3 // Developpement de l'Epita (LRDE)
4 //
5 // This file is part of Spot, a model checking library.
6 //
7 // Spot is free software; you can redistribute it and/or modify it
8 // under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // Spot is distributed in the hope that it will be useful, but WITHOUT
13 // ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 // or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 // License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 
20 #pragma once
21 
22 #include <ltdl.h>
23 
24 namespace spot
25 {
26  typedef struct transition_info {
27  int* labels; // edge labels, NULL, or pointer to the edge label(s)
28  int group; // holds transition group or -1 if unknown
30 
31  typedef void (*TransitionCB)(void *ctx,
33  int *dst);
34 
36  {
37  lt_dlhandle handle; // handle to the dynamic library
38  void (*get_initial_state)(void *to);
39  int (*have_property)();
40  int (*get_successors)(void* m, int *in, TransitionCB, void *arg);
41  int (*get_state_size)();
42  const char* (*get_state_variable_name)(int var);
43  int (*get_state_variable_type)(int var);
44  int (*get_type_count)();
45  const char* (*get_type_name)(int type);
46  int (*get_type_value_count)(int type);
47  const char* (*get_type_value_name)(int type, int value);
48 
49  int (*get_transition_count)();
50  int* (*get_transition_read_dependencies)(int t);
51  int* (*get_transition_write_dependencies)(int t);
52  int* (*get_guards)(int t);
53  int (*get_guard_count)();
54  int* (*get_guard_nes_matrix)(int g);
55  int* (*get_guard_may_be_coenabled_matrix)(int g);
56  };
57 }
Definition: graph.hh:32
Definition: spins.hh:26
Definition: spins.hh:35

Please direct any question, comment, or bug report to the Spot mailing list at spot@lrde.epita.fr.
Generated on Sun Oct 11 2015 10:50:08 for spot by doxygen 1.8.9.1