August 28 th , 2006 Overview Demos, the article Context - - PowerPoint PPT Presentation

august 28 th 2006 overview
SMART_READER_LITE
LIVE PREVIEW

August 28 th , 2006 Overview Demos, the article Context - - PowerPoint PPT Presentation

Presented by Eugene Syriani August 28 th , 2006 Overview Demos, the article Context Structure Modeling the syntax: The Meta-Model Modified structure Time Modeling the semantics: Graph Grammars Rules Words in


slide-1
SLIDE 1

Presented by Eugene Syriani August 28th, 2006

slide-2
SLIDE 2

Overview

  • πDemos, the article
  • Context
  • Structure
  • Modeling the syntax: The Meta-Model
  • Modified structure
  • Time
  • Modeling the semantics: Graph Grammars
  • Rules
  • Words in action…
slide-3
SLIDE 3

Introduction

 G. Birtwistle: Calgary, Canada

  • C. Tofts: Swansea, Wales

 Operational semantics of process-oriented simulation

languages – Part 1: πDemos, 1993

slide-4
SLIDE 4

What is πDemos?

 πDemos

Demos is a small process-oriented discrete event simulation language. It is a TEXTUAL language

 πDemos

Demos operational semantics enables a complete control on

  • Synchronization
  • Event-list scheduling
  • Inter-process communication
slide-5
SLIDE 5

πDemos’ structure

Process vs Resource

slide-6
SLIDE 6

πDemos’ structure

 Process vs Resource

slide-7
SLIDE 7

That’s all nice, but…

slide-8
SLIDE 8

We want to model the syntax and semantics of πDemos

slide-9
SLIDE 9

First, a Meta-Model

“Everything is a model”

Rules / Actions are Blocks UML class diagram

 Block  Generator  Get  Hold  Put  End

slide-10
SLIDE 10

First, a Meta-Model

“Everything is a model”

Resource and transaction UML class diagram

 Resource  Transaction

slide-11
SLIDE 11

First, a Meta-Model

“Everything is a model”

Time UML class diagram

 Time  Head  Tail  State  Current

slide-12
SLIDE 12

The Meta-Model

slide-13
SLIDE 13

Using AToM3

The big picture

slide-14
SLIDE 14

Using AToM3

When QOCA is involved

slide-15
SLIDE 15

Using AToM3

A model The Meta Model

slide-16
SLIDE 16

Now, let’s give a meaning to the meta-model

 Define a Graph Grammar  15 graph transformations are sufficient  AToM3 is a very nice and easy tool to use for graph

transformations

slide-17
SLIDE 17

Example: EXIT

On the RHS, specify what it should be replaced by Define the LHS by means of labels on each item of a subgraph of a model instance.

slide-18
SLIDE 18

Using AToM3

slide-19
SLIDE 19
slide-20
SLIDE 20
slide-21
SLIDE 21

Further work

 Enable loops in processes, with conditions  Non-determinism is possible

  • Closer to reality
  • Proof of termination is NP-Complete

 Let the process really do something, not just halt

  • Problem: time is not known in advance