15/09/2019 BT Trace Animation Ferdiansyah Dolot Ferdiansyah Dolot / )

Slides:



Advertisements
Similar presentations
Debugging Natural Semantics Specifications Adrian Pop and Peter Fritzson Programming Environment Laboratory Department of Computer and Information Science.
Advertisements

Hydra (A General Framework for Formalizing UML with Formal Languages for Embedded Systems*) *from the Ph.D. thesis of William E. McUmber Software Engineering.
PRESENTATION 3 Sri Raguraman CIS 895 Kansas State University.
CSI5112 Software Engineering Team: Andrei Anisenia Margi Fumtiwala.
An Eclipse-based Integrated Environment for Developing Executable Structural Operational Semantics Specifications Adrian Pop and Peter Fritzson Programming.
A Portable Debugger for Algorithmic Modelica Code Adrian Pop, Peter Fritzson Programming Environments Laboratory (PELAB) Department of Computer and Information.
Agenda What is BIRT? BIRT Features and Report Gallery Scripting BIRT
Integrated Development Environments. Today We Will: Go over more advanced functionality of Eclipse. Break up into teams to work on presentation and final.
Java Programming, 3e Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Presented by IBM developer Works ibm.com/developerworks/ 2006 January – April © 2006 IBM Corporation. Making the most of Creating Eclipse plug-ins.
February 10, 2004 Overview Adrian Pop  Programming Environments Laboratory  Linköping University  
OpenModelica Development Environment with Eclipse Integration Adrian Pop, Peter Fritzson, Andreas Remar, Elmir Jagudin, David Akhvlediani Programming Environment.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
Formalizing Material Flow Diagrams How can an MDE approach be used to improve the design process of material handling systems? Robert-Jan Bijl.
Faculty Advisor – Dr. Suraj Kothari Client – Jon Mathews Team Members – Chaz Beck Marcus Rosenow Shaun Brockhoff Jason Lackore.
A project management tool in Polytechnic University of Tirana (Bachelor thesis) Iva Tarelli Prof. Assoc. Elinda Kajo 14 th Workshop “SEE&RE” Sinaia, Romania,
TextBe Project and Issues JGS. Current Pipeline Implementation T2M Parser Generator Kit (EMFText) EMF model of BT (‘.bt’) M2M Atlas Transformation Language.
Eclipse is an open source IDE (Integrated Development Environment) for developing applications in Java, C/C++, HTML, Cobol, Perl, etc. The official Eclipse.
JRN 440 Adv. Online Journalism Vector file formats for print and projected Wednesday, 2/22/12.
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
PRESENTATION 2 Sri Raguraman CIS 895 Kansas State University.
14th IEEE-NPSS Real Time Conference 2005, 8 June Stockholm.
Basics Programming Concepts. Basics A computer program is a set of instructions to tell a computer what to do Machine language = circuit level language.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Building Flex Dashboards with WebFOCUS Enable Copyright 2008, Information Builders. Slide 1 Yoshiko Akai Strategic Product Mgt.
AJAX Making Dynamic Web pages more Dynamic Jim Hendricks April 25th, 2006.
Introduction to MDA (Model Driven Architecture) CYT.
INTERPRETING IMPERATIVE PROGRAMMING LAGUAGES IN EXTENSIBLE STYLESHEET LANGUAGE TRANSFORMATIONS (XSLT) Authors: Ruhsan Onder Assoc.
School of Computer Science & Information Technology G6DPMM - Lecture 17 Scaleable Vector Graphics.
CS266 Software Reverse Engineering (SRE) Reversing and Patching Java Bytecode Teodoro (Ted) Cipresso,
Clement Allen, PhD Florida A&M University SUMMER 2006.
Hyper/J and Concern Manipulation Environment. The need for AOSD tools and development environment AOSD requires a variety of tools Life cycle – support.
OME-TIFF and Bio-Formats K. Eliceiri, E. Hathaway, M. Linkert, and C. Rueden
BT Trace Animation Ferdiansyah Dolot / Depok, April 7 th 2011 FMSE.
A CASE Tool For Robot Behavior Development The KSE CASE Tool - Liveness Formula Editor, text editor ‐ Liveness2IAC transformation tool ‐ Graphical Statechart.
15/06/2006 The Future of Visual DCT EPICS Collaboration 2006 Argonne National Laboratory
Automata Based Method for Domain Specific Languages Definition Ulyana Tikhonova PhD student at St. Petersburg State Politechnical University, supervised.
Formalizing Material Flow Diagrams Robert-Jan Bijl.
XML and SVG as an Aid to Distance Learning Lez Bullwer MSc Information Technology.
PRESENTATION 2 Sri Raguraman CIS 895 Kansas State University.
Lab 5 CPIT 250 System Analysis and Design.
1 Technical & Business Writing (ENG-715) Muhammad Bilal Bashir UIIT, Rawalpindi.
Faculty Advisor – Dr. Suraj Kothari Client – Jon Mathews Team Members – Chaz Beck Marcus Rosenow Shaun Brockhoff Jason Lackore.
CSCI 115 Computer Programming Overview. Computer Software System Software –Operating systems –Utility programs –Language compilers Application Software.
Requirement Engineering with URN: Integrating Goals and Scenarios Jean-François Roy Thesis Defense February 16, 2007.
Ontologies Reasoning Components Agents Simulations An Overview of Model-Driven Engineering and Architecture Jacques Robin.
These materials are prepared only for the students enrolled in the course Distributed Software Development (DSD) at the Department of Computer.
Last update: 17 February 2011 by Ade Azurat
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
A Framework for Nuclear Software (NuFA)
Compsci 210 Tutorial Five.
Introduction to Compiler Construction
CSCI-235 Micro-Computer Applications
Output files generation
Play Framework: Introduction
Ch. 7 Programming Languages
A451 Theory – 7 Programming 7A, B - Algorithms.
CSc 453 Compilers & Systems Software 00. Background
Developing Composition Tree Visualizer for TextBE
Do you know this browser?...
Embedding Graphics in Web Pages
Modeling in the Time Domain
Jupyter Notebooks in Dyalog APL
Microsoft PowerPoint 2007 – Unit 2
Unit 6 part 3 Test Javascript Test.
Execute your Processes
Java Workflow Tooling (JWT) Release review: JWT v0
By Rajanikanth B Eclipse IDE Overview By Rajanikanth B
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
Presentation transcript:

15/09/2019 BT Trace Animation Ferdiansyah Dolot Ferdiansyah Dolot (ferdi_dolot@acm.org / ferdi.dolot@gmail.com ) Depok, April 7th 2011 FMSE (Formal Method in Software Engineering) Lab Faculty of Computer Science Universitas Indonesia

TextBE Overview [1] Developed by Toby Myers, Griffith University Eclipse Plugin Development based Provides Textual Representation for defining Behavior Engineering Model Integrated View of Behavior Tree (BT) as one view of Behavior Modeling Language has been implemented in TextBE [2] Converts the textual representation into graphical visualisation Save the graphical visualisation into several file formats ( .svg, .jpg, .pdf ) 15/09/2019 Ferdiansyah Dolot

Existing Condition Result of graphical visualisation is static Difficult to study about semantics Does not support any animating visualisation in Batik SVG Plugin Animated SVG file has been developed and can be viewed in certain web browser : works in Mozilla Firefox (Myers PhD Thesis) [3] With Animated SVG file, we can study about Behavior Tree Semantics 15/09/2019 Ferdiansyah Dolot

1. Animating BT Trace[4] The SVG file that can animate the BT diagram currently only works in certain browser (works in Mozilla Firefox) [2] BE Visualiser make use of Batik Java SVG Toolkit and the animated SVG example in previous slide currently doesn’t work in Batik Java SVG Toolkit BT Traces can be animated by adding ECMAScript language in SVG file generated by BE Visualiser (Batik SVG support ECMAScript) Perform Debugging using SVG Eclipse Plugin 15/09/2019 Ferdiansyah Dolot

2. BT Trace Notation[4] Create a file (.bttrace) to textually describe the BT Trace The file has a link to .bt file that will be animated by .bttrace Describe the order of nodes to be highlighted Sample language : nX – highlight node X (apply active colour and then set white colour) nX+ – set node X (apply active colour and then apply interleaved colour) nX- – clear node X (set white colour) { } – continuous loop of contained nodes 15/09/2019 #IMPORT /RBTs/R5.bt #OPTIONS.delay 500 #TRACE n1 n2 n3+ n4 n3- {n5 n6 n7} Ferdiansyah Dolot

3. Parsing outputs into BT Traces[4] There are possibly several outputs that can be parsed and converted into BT Trace Counter Example provided by SAL Model Checker and import the cex into BT Traces and animated in BE Visualiser Executing BTs natively in Modelica using OpenModelica (http://www.openmodelica.org) then parsed into BT Traces and animated in BE Visualiser. To do this, some of output example are needed. (Open Modellica has been installed in PC01-Riset3204 and can run Open Modelica Notebook) Future plan: Write ATL Transformation to generate Modelica code and Integrate it to TextBE Finish the 1st and 2nd works, then think about developing the third phase using the previous works. 15/09/2019 Ferdiansyah Dolot

Step 1 and Step 2 Diagram[4] 15/09/2019 Ferdiansyah Dolot

Package Modification Create org.be.textbe.bttrace.model Install EMFText SDK Develop EMFText Project Create bttrace.ecore Generate metamodel Create bttrace.cs Modify file BEView.java in package org.be.textbt.beviz Modify BEView.java in order to recognize .bttrace file Set no color first to view the animation Create org.be.textbe.bttrace.trace2svg Make Java Emitter Template (/templates/trace.jet) to generate the script to animating the SVG file from .bttrace file 15/09/2019 Ferdiansyah Dolot

References [1] Myers, Toby J. : TextBE : A Textual Editor for Behavior Engineering, 3rd Improving Systems and Software Engineering Conference , (2011) [2]http://code.google.com/p/textbe/ [3]http://www.behaviorengineering.org/publications/myers/CD/home.html [4]Myers, Toby J : Animating Behavior Tree Traces, (2011) 15/09/2019 Ferdiansyah Dolot