Add support to load GAL models.
* spot/ltsmin/ltsmin.cc: Handle GAL models. * tests/Makefile.am: Test the new feature. * tests/ltsmin/check.test: Also check GAL. * tests/ltsmin/beem-peterson.4.gal: A new GAL model for tests. * tests/ltsmin/finite.gal: A new GAL model for tests. * tests/ltsmin/finite3.test: A new test for GAL.
This commit is contained in:
parent
ec83e60bb9
commit
c9aabcddab
6 changed files with 268 additions and 9 deletions
19
tests/ltsmin/finite.gal
Executable file
19
tests/ltsmin/finite.gal
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
gal finite
|
||||
{
|
||||
//arrays
|
||||
//variables
|
||||
int P.a=0;
|
||||
int P.b=0;
|
||||
//transitions
|
||||
transition t0 [ ( ( P.a < 3 ) && ( P.b < 3 ) ) ]
|
||||
{ P.a = ( 1 + P.a );
|
||||
}
|
||||
|
||||
transition t1 [ ( ( P.a < 3 ) && ( P.b < 3 ) ) ]
|
||||
{ P.b = ( 1 + P.b );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue