GithubHelp home page GithubHelp logo

genetic-algorithm's Introduction

A Genetic Algorithm approach made in Processing.

This project simulates a set of "characters" traveling in a field amongst objects in which it might collide. Each one in it's own context.

The objetive of this project is to improve the routes the characters end up taking.

Learning Process

In order to stimulate the learning process of this project, we defined the following rules:

  1. Hitting red squares is bad for the score in a cycle
  2. Hitting purple squares improves the score in a cycle
  3. Generate different routes for the same character in the same defined world
  4. In each cycle, a few of the best performing subjects will be choosen to be applied in the genetic algorithm
  5. Start a new cycle considering new routes stimulating better results for each cycle

As time passes, better routes will be taken (avoiding red objects and going through purple ones more frequently).

aplicacao_final

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.