From b8f9daa52aa416b14777c4470c1839745722614d Mon Sep 17 00:00:00 2001 From: Kappes Marques Rodrigo <rodrigo.kappes@student-cs.fr> Date: Thu, 30 Jan 2020 09:21:05 +0100 Subject: [PATCH] fixed a variable in algo --- __pycache__/population.cpython-37.pyc | Bin 5102 -> 5102 bytes algogenetique.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__pycache__/population.cpython-37.pyc b/__pycache__/population.cpython-37.pyc index f5ff9c148a75706fba3a62595b561aadc6eb2256..3ff838dd3cc557205dd89fdb4f68cfc48e4fcaaf 100644 GIT binary patch delta 138 zcmaE-{!X3OiI<m)fq{Wx&P1cQw;Oq5*cr7pXR-4!GBRzh<XFJS=sH=7>j0zm=G$Be zjEqr}ZFr6`hHhr&-OR|CwRt<=O-9E4%@YOU8MW&f7#NE6KqfItFmo`nFmf<*FmW() qFmf@oF>){pF!C|-F!C_*G4e4_mKNH?C^Pw-&>Y5vle2}J7^MM3xgJ~q delta 138 zcmaE-{!X3OiI<m)fq{YH%LJo1$&I`*?2MY5v)K6<85uWMax7qEbeSy0b%4=o^KGsK zM#jj=Hay1|LpC$>Zf0c6+`OIdCL?3l=7|FFjM{Y!3=GA3Ad?s+7&#bO7&#a@m^c_Y q7`YhP7&#aP82K1^7<m}^82K0{OABpcl%9M}Xb$7d$=Sk9jKTl~rX9Kf diff --git a/algogenetique.py b/algogenetique.py index 42156ac..8c65c4a 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)) -- GitLab