Skip to content

Instantly share code, notes, and snippets.

@ernado
ernado / main.py
Created June 29, 2011 11:24
Profiler for GeneticAlgorythm
# -*- coding: utf-8 -*-
import cProfile
from random import randint
from copy import deepcopy
from math import floor
import random
class Organism:
#initiate
def __init__(self, alleles, fitness, likelihood):