A ubiquitous or general purpuse GA
Project description
EasyGA - A general solution to Genetic Algorithms
The projects has just started
Installation
Run the rolling to install:
pip3 install EasyGA
Usage
chromosome = chromosome()
# Fill the chromosome with genes with Gene Number i'th number
for i in range(10):
gene_value = f"Gene Number {i}"
new_gene = gene("gene_value")
chromosome.add_gene(new_gene)
# Chromosome has 10 genes in it
print(len(chromosome.genes))
# Get the first genes value
print(chromosome.genes[0].get_value())
Developing Hello World
To install EASY, along with the tools you need to develop and run tests, run the following in your virtual env:
$ pip install -e .[dev]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
EasyGA-0.0.4.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file EasyGA-0.0.4.tar.gz
.
File metadata
- Download URL: EasyGA-0.0.4.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0916a0abfb7783bd082dcf27944d7d6716debfdfa1a230549b87849bcbe85b1 |
|
MD5 | 04fc96c02963166af1b8c9e3194982c4 |
|
BLAKE2b-256 | a33db07a252a24c3c17b248e683f21c2a1c7d95a0ee659a2149137143c6bf36d |
File details
Details for the file EasyGA-0.0.4-py2-none-any.whl
.
File metadata
- Download URL: EasyGA-0.0.4-py2-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.6rc1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc14b18232f7009f9ef7f502429eac0f1aa0209ec0322014f3f43f3c6990714c |
|
MD5 | 7fdf74f83e87ffd7c3222d51c20a0291 |
|
BLAKE2b-256 | dbd6cc461c628c52705c7e35cb69a19a064597f3bc90f267d9c100d01113556c |