EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex...

Preview:

Citation preview

3 septembre 2007

EUROPARC de PichauryBâtiment C21330, av. Guillibert de la Lauzière13 856 Aix en Provence Cedex 3

Téléphone : 04.42.37.12.70Télécopie : 04.42.37.12.71

www.clearsy.com

BRAMA

Rodin Industry DaySeptember 10 2007, Paris

Antoine Requet

2

Agenda

What is Brama Animating an event B specification Creating a flash animation Conclusion

3

Brama Overview (1)

Brama is a tool for animating event-B specifications Allows executing events and inspecting variable

values Will automatically find suitable values for non-

deterministic specifications Can also animate text-based event-B

specifications using b2rodin Tool integrated within the RODIN platform

GUI for animating specifications Can also work as a server Works with RODIN-based products such as

CompoSys

4

Brama Overview (2)

Not an exhaustive tool Tries to guess values, but may fail for

complicated expressions Valid events may be considered closed

Benefits of animating specification Allows detecting specification errors such as

erroneous invariants Allows checking whether the specification

corresponds to the requirement

5

Animating an event B specification

Demo...

6

Creating a flash animation

Uses the Brama network server Rely on a TCP/IP connection

Flash animation act as a client of the Brama server Can trigger events Can listen to state changes Similar to connecting to any Web-based server

7

Creating a flash animation

Demo...

8

Conclusion

Brama allows animating event-B specification Can be used early in the specification phase Allows to demonstrate B models to non-B experts

Can handle real-world specifications May require some adaptation to Brama specificities Example shown in later presentations

Recommended