Coder Social home page Coder Social logo

angeligareta / finite-automaton-comparator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

Implementation of a Finite Automaton Comparator in C++. The input finite automaton can be deterministic or non-deterministic.

License: MIT License

Makefile 0.96% C++ 99.04%
finite-automaton-comparator finite-automata finite-automaton non-deterministic-finite-automaton deterministic-finite-automata deterministic-finite-automaton nfa dfa

finite-automaton-comparator's Introduction

Finite Automaton Comparator

Implementation of a Finite Automaton Comparator in C++. The FA's can be DFA or NFA.

The program can compare two Finite Automaton, they are equivalent if they can accept the same strings. The result of the program is EQUIVALENT or NOT_EQUIVALENT.

If a DFA is not minimum, the program first minimize the DFA.

Author

Ángel Luis Igareta Herráiz

Index

Usage

To start the program first you have to compile the source with MakeFile. After that you can start it executing:

.bin/compareFA FA1 FA2

After analyzing the FA passed by argument, the result of the program is EQUIVALENTE or NOT_EQUIVALENT.

Finally in the test folder there is an example of DFA and NFA test and syntax.

License

The Mit License.

finite-automaton-comparator's People

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.