Code Monkey home page Code Monkey logo

extraction_function's Introduction

Extraction_Function

toolset (2)

The extraction function extracts a list of tau (silent) transtions from the mapped state space (aut file) based on a list of observable actions. The output list can be used in mCRL2 tool for reducing the transtion system based on difference equivalence relationships.

Example 1.

A mappped state space of a Timed Rebeca model (state dransition diagram): mapped state space (aut file)

A list of observable actions: observable actions

Output (i.e., tau transtions): heating_[20_true_false_]

Screenshot 2022-08-28 at 16 34 01

Example 2.

The diagram of the messages passing between actors defined in a Timed Rebeca model of a room temperature control system.

diagram_actors_messages

First, the state space of the Timed Rebeca is mapped using cast function. The mappped state space of the Timed Rebeca model (state dransition diagram): mapped state space (aut file)

(The state space includes 76 states and 103 transtions.)

(the maped state space (aut file) contains 103 states and 129 transtions.)

Second, the extraction function uses the maped state space (aut file) and a list of observable actions to generate tau transitions. A list of observable actions: observable actions

Output: tau transitions

(This list shows tau transitions for reducing the casted_LTS based on equivalence relationships.)

Screenshot 2022-10-31 at 10 11 53

The output list above shows tau transitions. The reduced model is generated based on tau transitions and tau_star equivalence relationship (i.e., weak trace equivalence) in mCRL2 tool.

The reduced state space (aut file): abstracted_LTS_diagram. (It contains 49 states and 71 transtions.)

Example 3.

The diagram of the messages passing between actors defined in a Timed Rebeca model of a secure water treatment system.

diagram_actors_messages_swat drawio

First, the state space of the Timed Rebeca is mapped using cast function. The mappped state space of the Timed Rebeca model (state dransition diagram): mapped state space (aut file)

(The state space of the Timed Rebeca model includes 688 states and 1825 transtions)

(The mapped state space (aut file) contains 760 states and 1896 transtions) Screenshot 2022-11-01 at 10 31 59

Second, the extraction function uses the maped state space (aut file) and a list of observable actions to generate tau transitions.

A list of observable actions: observable actions

Output: tau transitions

(This list shows tau transitions for reducing the casted_LTS based on equivalence relationships.)

The output list above shows tau transitions. The reduced model is generated based on tau transitions and tau_star equivalence relationship (i.e., weak trace equivalence) in mCRL2 tool.

The reduced state space (aut file): abstracted_LTS_diagram. (It contains 62 states and 90 transtions.)

extraction_function's People

Contributors

fereidoun-moradi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.