* 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.
19 lines
266 B
Text
Executable file
19 lines
266 B
Text
Executable file
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 );
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|