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.3.tar.gz
(1.6 kB
view details)
Built Distribution
File details
Details for the file EasyGA-0.0.3.tar.gz
.
File metadata
- Download URL: EasyGA-0.0.3.tar.gz
- Upload date:
- Size: 1.6 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 | 80a5620e91d5789a9337c00d85bdfb454987e30d070ba3a2a83bc65ce89b83a2 |
|
MD5 | 542b547f2cc0d676bc2b715b46ec5ba6 |
|
BLAKE2b-256 | 23372a66c0df237bc858ccbb00de76fb2da469ddf0f142aef6411b564c112327 |
File details
Details for the file EasyGA-0.0.3-py2-none-any.whl
.
File metadata
- Download URL: EasyGA-0.0.3-py2-none-any.whl
- Upload date:
- Size: 2.3 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 | dfb4b92b8d9da724cf3771ab787b7f3c1f48558c2aafdd9a37dfdf9de9ad6f8a |
|
MD5 | 71b90b8ac66d19479d011b3b5ab77cc4 |
|
BLAKE2b-256 | 46ddb81b65d3b8bad487e35ec295ef60c2319c2089146fe3260271d44517e790 |