Coder Social home page Coder Social logo

ada-ga's Introduction

Ada-GA

This project is a small library to compute genetic algorithm in Ada.

Currently :

  • binary chromosomes are provided, additional chromosome could be used in creating a new chromosome type
  • Population Elitism (conserv a pourcentage of the best chromosomes)
  • Mutations
  • CrossOver

Random Generators are clearly separated on :

  • Mutation
  • CrossOver
  • Chromosome

a test function show the use of the library for a scalar encoding of chromosome.

Updates

2023-08-06 : recompile on linux, not added to alire package manager, the name of the lib is too short.

Install - Compile - Test

This project should compile on every Ada 2005 compliant compiler.We currently use GNAT 2005.

to compile the project, go in the project directory and launch gprbuild command line.

gprbuild

C:\Projets\Ada\Projets\Ada-GA>gprbuild
using project file ga.gpr
gcc -c -g -gnat05 -O3 test.adb
gcc -c -g -gnat05 -O3 ga.adb
gcc -c -g -gnat05 -O3 gascalar.adb
gprbind test.bexch
gnatbind test.ali
gcc -c b__test.adb
gcc test.o -o test.exe

ada-ga's People

Contributors

frett27 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

yaofei509

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.