Skip to content

manudiv16/API-Finit-Automaton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Last commit CodeFactor

Welcome to Finit Automat

Flask tool that manages the behavior of a finite automata. Generate photos of the automata through calls to the api with a json that describes the automata

Prerequisites

pip install -r requirements.txt

install Graphviz

https://graphviz.org/download/

How generate json of automaton

Json describes finit automaton

{
    "deterministic":true,
    "alphabet": [
      "a",
      "b"
    ],
    "states": [
      {
        "state": 0,
        "final": false,
        "start": true,
        "morphs": {
          "a": 1,
          "b": 2
        }
      },
      {
        "state": 1,
        "final": false,
        "start": false,
        "morphs": {
          "a": 3,
          "b": 5
        }
      }
    ]
  }

contributors

Fran Martin
💻

About

finite-automat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published