An open API service indexing awesome lists of open source software.

https://github.com/ivanbgd/genetic-algorithm-maximum-area-in-ellipse-python3

Genetic Algorithm in Python 3 for inscribing a triangle of the maximum area in a given ellipse.
https://github.com/ivanbgd/genetic-algorithm-maximum-area-in-ellipse-python3

artificial-intelligence genetic-algorithm genetic-algorithms python python3 soft-computing

Last synced: 11 months ago
JSON representation

Genetic Algorithm in Python 3 for inscribing a triangle of the maximum area in a given ellipse.

Awesome Lists containing this project

README

          

# Genetic_Algorithm_01
Genetic Algorithm in Python for inscribing a triangle of the maximum area in a given ellipse.

Ellipse is defined as: (x/a)^2 + (y/b)^2 = 1

User can change parameters of the GA and ellipse.

There are two versions.

The first one represents chromosomes as strings, the second one as integers.

Nevertheless, they are of the same speed (per generation).