Giter Site home page Giter Site logo

tzvc / genetic-playground Goto Github PK

View Code? Open in Web Editor NEW
23.0 1.0 1.0 3.53 MB

A Javascript web application to explore and experiment with evolutionary computation principles.

Home Page: https://theochampion.github.io/genetic-playground/index.html

HTML 3.07% CSS 0.91% JavaScript 96.02%
genetic-algorithm evolution-simulation playground

genetic-playground's Introduction

Genetic playground

A Javascript web application to explore and experiment with evolutionary computation principles.

Simulation is comprised of a population of robots with a single wheel whose rotation speed and direction are controlled by a standard PID controller. Parameters for this controller is to be optimized over generations by the genetic algorithm in order to ensure their survival in a challenging environment (bumpy wheel with increasing rotation speed).

Developed by @theo_champion as part of the evolutionary computing course at RMIT university.

Genetic configuration parameters

Name Default Range/Type Description
Population Size 100 Real Number Size of the population
Crossover Rate 0.6 [0.0, 1.0] Probability of crossover operation (multi point)
Mutation Rate 0.1 [0.0, 1.0] Probability of mutation operation (safe random bit flip)

Selection operators

Individual Selectors Description
IndividualSelectors.Tournament2 Select fittest of two random individuals
IndividualSelectors.Tournament3 Select fittest of three random individuals
IndividualSelectors.Fittest Select fittest individual of the population
IndividualSelectors.Random Select a random individual
Pair-wise (parents) Selectors Description
ParentsSelectors.Tournament2 Select a pair of individual using IndividualSelectors.Tournament2
ParentsSelectors.Tournament3 Select a pair of individual using IndividualSelectors.Tournament3
ParentsSelectors.Random Select a pair of random individuals
ParentsSelectors.FittestRandom Select a pair of the fittest and a random individual

genetic-playground's People

Contributors

tzvc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

crossbowblack

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.