Skip to content

Commit 53b77ef

Browse files
authored
Merge pull request #6 from lip6/master
use CTL assertion 'AG EF t' enabled for all transition t for Liveness
2 parents 05952ea + 6bb1e52 commit 53b77ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pnmcc/fr.lip6.move.gal.application.pnmcc/src/fr/lip6/move/gal/application/GlobalPropertySolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ void buildQuasiLivenessProperty(PetriNet spn) {
9494
void builLivenessProperty(PetriNet spn) {
9595
for (int tid = 0; tid < spn.getTransitionCount(); tid++) {
9696
Expression live = Expression.nop(Op.ENABLED, Collections.singletonList(Expression.trans(tid)));
97-
Expression ef = Expression.op(Op.AG, live, null);
98-
Property LivenessProperty = new Property(ef, PropertyType.INVARIANT, "transition_" + tid);
97+
Expression ef = Expression.op(Op.AG, Expression.op(Op.EF, live, null), null);
98+
Property LivenessProperty = new Property(ef, PropertyType.CTL, "transition_" + tid);
9999
spn.getProperties().add(LivenessProperty);
100100
}
101101
}

0 commit comments

Comments
 (0)