Skip to content

Commit

Permalink
heavywatal#15 tochuu
Browse files Browse the repository at this point in the history
  • Loading branch information
hamazaki1990 committed May 5, 2017
1 parent df52d20 commit 33328c8
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions hamazaki1990/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""main script
"""
print('Hello, world!')
import random
from individual import Individual
from population import Population


def get_heterogeneity(Population):
for x in Population._inds:
if Population[0] != Population[x]:
return True
break
else:
return False


def simulate_fixwf(Population):
if complete_fixation(Population):



p1 = Population(5)
p1.print_ids
simulate_fixation(p1)

0 comments on commit 33328c8

Please sign in to comment.