Skip to content

Instantly share code, notes, and snippets.

View luqiang21's full-sized avatar
🏸
Focusing

Qiang Lu luqiang21

🏸
Focusing
View GitHub Profile
@luqiang21
luqiang21 / genetic.py
Created March 30, 2016 02:20 — forked from bellbind/genetic.py
[python]Genetic Algorithm example
"""Genetic Algorithmn Implementation
see:
http://www.obitko.com/tutorials/genetic-algorithms/ga-basic-description.php
"""
import random
class GeneticAlgorithm(object):
def __init__(self, genetics):
self.genetics = genetics
pass