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
To use the package
import EasyGA as ga
Usage
import EasyGA as ga
chromosome = ga.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 = ga.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 EasyGA
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.5.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file EasyGA-0.0.5.tar.gz.
File metadata
- Download URL: EasyGA-0.0.5.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 |
328a93a8a62339d4edf62294596a667cee448ed0b1ed28628cba9edb560e4528
|
|
| MD5 |
b5ef3cfaa2b5ebfe40ede53beb576350
|
|
| BLAKE2b-256 |
502820fb3d2e2437ce75f23de61f36b93b1b488f3cd57cf9e6ec38645129f907
|
File details
Details for the file EasyGA-0.0.5-py2-none-any.whl.
File metadata
- Download URL: EasyGA-0.0.5-py2-none-any.whl
- Upload date:
- Size: 2.8 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 |
75466ac6126906ee222400a5d6ea65642a970d4a7b6da4f2335fd2ed46e42daa
|
|
| MD5 |
c3cb3c3d43c7601e1e7eca82422d6e6a
|
|
| BLAKE2b-256 |
9c32537577f3c96365f2c2a754ef02b4825d7b6211d646d152e792a5f7d3e4f9
|