Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frett27/Ada-GA
Genetic Algorithm Implementation for Ada
https://github.com/frett27/Ada-GA
ada algorithm chromosome crossover generic genetic-algorithm library mutations simple
Last synced: about 2 months ago
JSON representation
Genetic Algorithm Implementation for Ada
- Host: GitHub
- URL: https://github.com/frett27/Ada-GA
- Owner: frett27
- License: other
- Created: 2013-11-16T17:16:54.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-06T22:18:37.000Z (over 1 year ago)
- Last Synced: 2024-10-16T21:31:31.145Z (2 months ago)
- Topics: ada, algorithm, chromosome, crossover, generic, genetic-algorithm, library, mutations, simple
- Language: Ada
- Homepage:
- Size: 20.5 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ada - ada-ga - Genetic Algorithm Implementation for Ada. (Libraries / Algorithms, Containers and Protocols)
README
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
- CrossOverRandom Generators are clearly separated on :
- Mutation
- CrossOver
- Chromosomea 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