Skip to content
This repository has been archived by the owner on Aug 20, 2023. It is now read-only.
/ GeneticAlgorithm Public archive

Genetic Algorithm with different biological approaches implemented.

Notifications You must be signed in to change notification settings

Haim5/GeneticAlgorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GeneticAlgorithm

command format

Arguments are optional, if not given the default values of mode=0 and population_size=20000 will be used. Please enter non negative values only.

first arg - solver mode:

  • 0 - regular genetic solver
  • 1 - Darwin genetic solver
  • 2 - Lamarck genetic solver

second arg - initial population size (optional)

If not given, 20,000 is used as a default

example:

python3 geneticAlgorithm.py 2 1231

python3 geneticAlgorithm.py

python3 geneticAlgorithm.py 0 20000

Notice: Examples 2 and 3 are identical

Releases

No releases published

Packages

No packages published

Languages