spot  2.11.1
formulas.hh
1 // -*- coding: utf-8 -*-
2 // Copyright (C) 2017-2019, 2022 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 <spot/tl/formula.hh>
23 
24 namespace spot
25 {
26  namespace gen
27  {
31 
34  LTL_BEGIN = 256,
37  LTL_AND_F = LTL_BEGIN,
180  LTL_END
181  };
182 
188  SPOT_API formula ltl_pattern(ltl_pattern_id pattern, int n, int m = -1);
189 
194  SPOT_API const char* ltl_pattern_name(ltl_pattern_id pattern);
195 
200  SPOT_API int ltl_pattern_max(ltl_pattern_id pattern);
201 
205  SPOT_API int ltl_pattern_argc(ltl_pattern_id pattern);
207  }
208 }
Main class for temporal logic formula.
Definition: formula.hh:715
LTL/PSL formula interface.
int ltl_pattern_max(ltl_pattern_id pattern)
upper bound for LTL patterns
int ltl_pattern_argc(ltl_pattern_id pattern)
argument count for LTL patterns
const char * ltl_pattern_name(ltl_pattern_id pattern)
convert an ltl_pattern_id value into a name
formula ltl_pattern(ltl_pattern_id pattern, int n, int m=-1)
generate an LTL from a known pattern
ltl_pattern_id
Identifiers for formula patterns.
Definition: formulas.hh:33
@ LTL_RV_COUNTER_LINEAR
Definition: formulas.hh:142
@ LTL_GH_Q
Definition: formulas.hh:73
@ LTL_GF_EQUIV
(GFa1 & GFa2 & ... & GFan) <-> GFz
Definition: formulas.hh:64
@ LTL_TV_UU
Definition: formulas.hh:172
@ LTL_AND_F
Definition: formulas.hh:37
@ LTL_OR_GF
Definition: formulas.hh:115
@ LTL_CCJ_BETA_PRIME
Definition: formulas.hh:52
@ LTL_FXG_OR
F(p0 | XG(p1 | XG(p2 | ... XG(pn))))
Definition: formulas.hh:62
@ LTL_GO_THETA
Definition: formulas.hh:79
@ LTL_KR_NLOGN
Definition: formulas.hh:90
@ LTL_GXF_AND
G(p0 & XF(p1 & XF(p2 & ... XF(pn))))
Definition: formulas.hh:81
@ LTL_TV_F1
Definition: formulas.hh:160
@ LTL_GH_R
Definition: formulas.hh:76
@ LTL_GF_EQUIV_XN
GF(a <-> X[n](a))
Definition: formulas.hh:66
@ LTL_RV_COUNTER_CARRY_LINEAR
Definition: formulas.hh:139
@ LTL_KV_PSI
Definition: formulas.hh:94
@ LTL_U_RIGHT
Definition: formulas.hh:179
@ LTL_PPS_ARBITER_STANDARD
Definition: formulas.hh:122
@ LTL_AND_FG
FG(p1)&FG(p2)&...&FG(pn)
Definition: formulas.hh:39
@ LTL_MS_PHI_H
Definition: formulas.hh:100
@ LTL_R_LEFT
(((p1 R p2) R p3) ... R pn)
Definition: formulas.hh:128
@ LTL_SEJK_F
Definition: formulas.hh:148
@ LTL_CCJ_BETA
Definition: formulas.hh:49
@ LTL_TV_F2
Definition: formulas.hh:163
@ LTL_OR_FG
Definition: formulas.hh:109
@ LTL_U_LEFT
Definition: formulas.hh:175
@ LTL_CCJ_ALPHA
Definition: formulas.hh:46
@ LTL_TV_G1
Definition: formulas.hh:166
@ LTL_SEJK_PATTERNS
Definition: formulas.hh:157
@ LTL_RV_COUNTER
Definition: formulas.hh:133
@ LTL_SEJK_J
Definition: formulas.hh:151
@ LTL_PPS_ARBITER_STRICT
Definition: formulas.hh:126
@ LTL_MS_EXAMPLE
Definition: formulas.hh:97
@ LTL_KR_N
Definition: formulas.hh:87
@ LTL_SEJK_K
Definition: formulas.hh:154
@ LTL_HKRSS_PATTERNS
Definition: formulas.hh:84
@ LTL_AND_GF
Definition: formulas.hh:43
@ LTL_SB_PATTERNS
Definition: formulas.hh:145
@ LTL_MS_PHI_R
Definition: formulas.hh:103
@ LTL_R_RIGHT
(p1 R (p2 R (... R pn)))
Definition: formulas.hh:130
@ LTL_OR_G
Definition: formulas.hh:112
@ LTL_MS_PHI_S
Definition: formulas.hh:106
@ LTL_EIL_GSI
Familly sent by Edmond Irani Liu.
Definition: formulas.hh:60
@ LTL_GF_IMPLIES_XN
GF(a -> X[n](a))
Definition: formulas.hh:70
@ LTL_EH_PATTERNS
Definition: formulas.hh:58
@ LTL_RV_COUNTER_CARRY
Definition: formulas.hh:136
@ LTL_DAC_PATTERNS
Definition: formulas.hh:55
@ LTL_GF_IMPLIES
(GFa1 & GFa2 & ... & GFan) -> GFz
Definition: formulas.hh:68
@ LTL_P_PATTERNS
Definition: formulas.hh:118
@ LTL_TV_G2
Definition: formulas.hh:169
Definition: automata.hh:27

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.9.1