danielwilczak101 d6c440bc77 Update README.md
2020-09-20 18:54:10 -04:00
2020-09-20 18:47:41 -04:00
2020-09-17 15:15:44 -04:00
2020-09-20 02:32:15 -04:00
2020-09-19 18:09:39 -04:00
2020-09-20 18:54:10 -04:00

EasyGA - A general solution to Genetic Algorithms

The projects has just started

Installation

Run the rolling to install:

pip3 install EasyGA

To use the package

import EasyGA

Usage

import random
import EasyGA

def user_gene_function():
    return random.randint(1, 100)

Population_size = 10
Chromosome_length = 10

ga = EasyGA.GA(Population_size, Chromosome_length,user_gene_function)

# Setup the GA's population,chromosomes and genes
ga.initialize()

print(ga.population.chromosomes[0].print_chromosome())

Developing EasyGA

Download the repository to some folder

git clone https://github.com/danielwilczak101/EasyGA.git

Then install the repositroy using this command:

pip install -e .

Working on developing a devel branch

To install EASY, along with the tools you need to develop and run tests, run the following in your virtual env:

$ pip install -e .[devel]
Description
No description provided
Readme 1.3 MiB
Languages
Python 100%