Skip to main content

A custom genetic algorithm package with Pygame visualization.

Project description

Genetic Algorithms

A custom Python package implementing a Genetic Algorithm (GA) with support for Pygame visualization. This package allows you to run genetic algorithms for optimization problems and visualize the evolution of the population over generations.

Features

  • Genetic Algorithm Implementation: Easily customizable with different mutation rates, crossover rates, and fitness functions.
  • Pygame Visualization: Visualize the evolution of the population over time using a graphical interface.
  • Elitism: Support for elitism to carry the best individuals to the next generation.
  • Early Stopping: Stop the algorithm early if the population's fitness stagnates for a certain number of generations.

Installation

Option 1: Install Locally

You can install the package locally by cloning the repository and running:

pip install .

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

genetic_algorithms_personal-0.2.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file genetic_algorithms_personal-0.2.0.tar.gz.

File metadata

File hashes

Hashes for genetic_algorithms_personal-0.2.0.tar.gz
Algorithm Hash digest
SHA256 51f72c642b670bf18bf7104a75e973bcf9c3c5b00bb4caa17cd44e8004ae6a0d
MD5 957ffb76f62c79f47727321203a8daa4
BLAKE2b-256 0e9a3a46ed3ade98d7598a0dcddf6f2a5175bc1fbf8758bb6378f49ff047ca6c

See more details on using hashes here.

File details

Details for the file genetic_algorithms_personal-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for genetic_algorithms_personal-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dbfa7f1288c0928ec60f4d372c26d3338c11a6cf155f60833f543f987ee9ada5
MD5 d276edb10882d80d3b27b838c89ade1a
BLAKE2b-256 f85db85da678ed31c034cb60553c88dbb4ea78d1c40cfba33b6136436155b6df

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