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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

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