Skip to main content

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


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.6.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

EasyGA-0.0.6-py2-none-any.whl (2.8 kB view details)

Uploaded Python 2

File details

Details for the file EasyGA-0.0.6.tar.gz.

File metadata

  • Download URL: EasyGA-0.0.6.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

Hashes for EasyGA-0.0.6.tar.gz
Algorithm Hash digest
SHA256 89694b97742d92ea861fb51f3829cc4e1f200400196c7de978c1e457d26d261d
MD5 2af9cb1d2de1640be6ca5649713b51d7
BLAKE2b-256 e4f453fca64edb89e5058586b2b97038376845cb78a4bf9e6bcab190a39152ce

See more details on using hashes here.

File details

Details for the file EasyGA-0.0.6-py2-none-any.whl.

File metadata

  • Download URL: EasyGA-0.0.6-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

Hashes for EasyGA-0.0.6-py2-none-any.whl
Algorithm Hash digest
SHA256 f031e35ce23382f49b56e8309f8709c47ae2a4909e7c7c14e688d6d0d4ee04d4
MD5 4fc3bf851fc2d8bfb2f953cca588416d
BLAKE2b-256 2b3d47237e4c0e52722b9702960e6b252d027e22c558aad8040a52a6e9d49854

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page