Coder Social home page Coder Social logo

aebeltran13 / finite-automaton-builder Goto Github PK

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

This project is able to build an automaton with N states and M symbols. Then it takes a series of symbols and checks if the built automaton accepts the series or rejects it.

Java 100.00%

finite-automaton-builder's Introduction

Finite-Automaton-Builder

This project is able to build an automaton with N states and M symbols. Then it takes a series of symbols and checks if the built automaton accepts the series or rejects it.

This is a small class roject to build and test any automaton.

Specific Instrucitons

Emulate a general finite automaton. The input to this method should include:

-The number N of states q0, ..., qN โˆ’ 1; we assume that q0 is the start state;

-The number M of symbols s0, ... sM โˆ’ 1;

-An integer array state[n][m] that describes to what state the finite automaton moves if it was in the state qn and sees the symbol sm;

-A boolean array final[n] that tells us, for each state, whether this state is final or not.

This program needs to keep track of a current state. Initially, this location is 0. Your program should emulate the work of the finite automaton step-by-step.

finite-automaton-builder's People

Contributors

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