Skip to main content

Genetic Algorithm

Project description

Name:

GA

Author:

fiachia

Function:

Genetic Algorithm

Defect:

Genetic Algorithm

use:

  • def method()

  • gene=Gene(value, length, method1, name)

  • chromosome=Chromosome(*genes, length, method2)

  • ga=GA(*chromosomes, maxItem=1, minThreshold=0, maxThreshold=100, eliminationRate=0.5, groupTimes=1, mutation_pro=0.3, static_value: Gene = None))

  • ga.run()

  • result=GA_result.bestResult()

update:

  • change function easier and more quickly

  • fix a little bug

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

GA_fiachia-2.0.5.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

GA_fiachia-2.0.5-py2.py3-none-any.whl (17.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file GA_fiachia-2.0.5.tar.gz.

File metadata

  • Download URL: GA_fiachia-2.0.5.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for GA_fiachia-2.0.5.tar.gz
Algorithm Hash digest
SHA256 cb927ae0f5ea6b093fe83c3ac824e21b4868ccb0039acbc7a5c1c5368d93afad
MD5 943dd0afa6490fe4c7909c1627ec9531
BLAKE2b-256 1108f2c3ac40ab5597664295c2fe1c1660b3f9bbf782097521e6f7170f6b6980

See more details on using hashes here.

File details

Details for the file GA_fiachia-2.0.5-py2.py3-none-any.whl.

File metadata

  • Download URL: GA_fiachia-2.0.5-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.10

File hashes

Hashes for GA_fiachia-2.0.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 25f10309bb1a6d98744f81b9d17a2f205ce82611b3a018d345353f1f45c7de1f
MD5 aebbc7c76b04f2afcf87fb289797fd02
BLAKE2b-256 b24b19cbf37183cbca111ca785370282085ce58b7b1edbbd878f19713083a123

See more details on using hashes here.

Supported by

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