Code Monkey home page Code Monkey logo

dka-2-mka's Introduction

Project: DKA-2-MKA (FLP 15/16 FUN)
Author: Mark Birger (xbirge00)
Date: 7.4.2016

Fully implemented minimalization.

Steps of minimization algorithm:
Input: DFSM w/o unreachable states
Output: Minimal equal DFSM
1) Make a complete DFSM
2) Create table of equal classes
3) Split this table as possible
4) Generate new FSM
5) Remove SINK state

Source codes are commented with haddock,
complete docs can be generated.

Invalid inputs handling:
1) Ignoring duplicate transitions
2) Ingnoring duplicate states (finites too)
3) Zero transitions set is valid (automatas/input/one_state test)
4) 3+ agruments is invalid parameters

Extra features:
1) Working with any state names ("SINK" name is reserved)
2) Working with any Char symbols in alphabet (numbers too)
(automatas/input/extra_naming test)

Automatic testing for predefined automatas:
	chmod +x test.sh
	./test.sh

Most interesting in this project is Equalty class split 
via `group . sort` and Ord, Eq implementation.

dka-2-mka's People

Contributors

kusha avatar

Watchers

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