Git Product home page Git Product logo

otomate's Introduction

ร”'๐Ÿ…

This program is an Finite-state automaton (FSA) editor.

Load specificaton

All the information come from Instruction/Projet.

The program need to contains the following features :

  • FSA Editing, which means :
    • Adding
    • Importation/Exportation with a file
    • Editing
    • Removing
  • Check if a word can be read by the FSA
  • Check if an AEF is complete
  • Transform an AEF into an complete AEF
  • Check if an AEF is deterministic
  • Transform an AEF into a deterministic one
  • Do the folow operation
    • Complement of an AEF
    • Mirror of an AEF
    • Product of two AEFs
    • Concatenation of two AEFs
  • Extract a regular expression from an AEF. For example, a*b is a regular exepression.
  • Find AEF admited language. For example, {a*b} is a language
  • Check if two AEF are equivalent (they recognized same language)
  • Transform an AEF into an trim one
  • Transform an AEF into a minimal one. The new AEF will recognized the same language, with the minmal number of state. Which means that no state can be removed from the AEF and without change the know language
  • The interface need to be in the shell

Optional feature

  • Export the FSA in an image (.png)
  • A GUI for editing the FSA (JFLAP)

FSA save file (.csv)

The program use the .oto extension to save your Finite-State automaton. The strucuture is the same as a CSV file with the follow header :

Header : Names of the state, first event, second event, thrid event, [...], EI, EF
EI: Etat Initial (0 : false, 1: true)
EF: Etat Final (0 : false, 1: true)
Note: The "Names of the state" column is "etat"

Example 1 :
This example represent an AEF reading an binary number with an even number of 1

even.csv

etat;0;1;EI;EF
q_even;q_even;q_odd;1;1
q_odd;q_odd;q_even;0;0

We can represent this AEF with the folowing graph :
Even AEF graph

Example 2 :
Other abstract example :

abstract.csv

etat;a;b;c;d;e;f;g;h;i;k;EI;EF
q0;q0;;;;;q1;;;;;1;1
q1;;q1;;;;;q2;;;;0;0
q2;;;q2;;;;;q3;;;0;1
q3;;;;q3;;;;;q4;q0,q1;0;0
q4;;;;;q4;;;;;;0;1

We can represent this AEF with the folowing graph :
Abstract AEF graph

You will find more examples in Sample/Examples

otomate's People

Contributors

hadjuse avatar imadismad avatar wanbl avatar fjdhj avatar stunnytom avatar

Stargazers

 avatar  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.