Skip to content

Instantly share code, notes, and snippets.

@damascenodiego
Last active June 2, 2017 20:42
Show Gist options
  • Save damascenodiego/9b49157d1926d5223c7548d312fb8421 to your computer and use it in GitHub Desktop.
Save damascenodiego/9b49157d1926d5223c7548d312fb8421 to your computer and use it in GitHub Desktop.
Exemplos usados para testar o trabalho1 sobre CTL

Os 4 exemplos contêm uma mesma maquina de estados e diferentes propriedades.

Os numeros no nome dos arquivos descrevem quais estados não satisfazem a prioridade. Modelo e propriedades validados usando NuSMV

6
1 3 alive chase flee 2 2 4
2 3 alive eat flee 4 1 2 3 5
3 0 2 1 6
4 3 alive move chase 1 1
5 4 alive eat move flee 1 2
6 1 move 1 3
((flee)->(eat))
6
1 3 alive chase flee 2 2 4
2 3 alive eat flee 4 1 2 3 5
3 0 2 1 6
4 3 alive move chase 1 1
5 4 alive eat move flee 1 2
6 1 move 1 3
(AG(((alive)->(((chase)&(!(flee)))|((!(chase))&(flee))))))
6
1 3 alive chase flee 2 2 4
2 3 alive eat flee 4 1 2 3 5
3 0 2 1 6
4 3 alive move chase 1 1
5 4 alive eat move flee 1 2
6 1 move 1 3
(((alive)&(eat))&(!(move)))
6
1 3 alive chase flee 2 2 4
2 3 alive eat flee 4 1 2 3 5
3 0 2 1 6
4 3 alive move chase 1 1
5 4 alive eat move flee 1 2
6 1 move 1 3
(AG(((move)->(AX((!(move)))))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment