8
3 septembre 2007 EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71 www.clearsy.com BRAMA Rodin Industry Day September 10 2007, Paris Antoine Requet

EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

Embed Size (px)

Citation preview

Page 1: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

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

Page 2: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

2

Agenda

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

Page 3: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

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

Page 4: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

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

Page 5: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

5

Animating an event B specification

Demo...

Page 6: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

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

Page 7: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

7

Creating a flash animation

Demo...

Page 8: EUROPARC de Pichaury Bâtiment C2 1330, av. Guillibert de la Lauzière 13 856 Aix en Provence Cedex 3 Téléphone : 04.42.37.12.70 Télécopie : 04.42.37.12.71

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