diff --git a/__pycache__/population.cpython-37.pyc b/__pycache__/population.cpython-37.pyc index f5ff9c148a75706fba3a62595b561aadc6eb2256..3ff838dd3cc557205dd89fdb4f68cfc48e4fcaaf 100644 Binary files a/__pycache__/population.cpython-37.pyc and b/__pycache__/population.cpython-37.pyc differ diff --git a/algogenetique.py b/algogenetique.py index 42156ac338e9676284067fae5ddfba43e083482a..8c65c4add44853c8d195b4e8b4eb4e64babb0351 100644 --- a/algogenetique.py +++ b/algogenetique.py @@ -76,8 +76,8 @@ def main(N,tmax,pmutation, proportion): #Testing our solution and printing the result in 3D lineList = [line.rstrip('\n') for line in open("plasmid_8k.fasta")] brin = ''.join(lineList[1:]) -best,People = main(60,60,0.05,30) -test = Traj3D() -test.compute(brin, best.table) -test.draw("first_plot") +best,People = main(30,5,0.05,15) +traj = Traj3D() +traj.compute(brin, best.table) +traj.draw("first_plot") print("Temps d'execution : %s secondes " % (time.time() - start_time))