Skip to content
Snippets Groups Projects
Commit 1639a59b authored by Busson Loic's avatar Busson Loic
Browse files

pull

parent 326203bc
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -23,21 +23,15 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"):
if individu.score>max:
best=individu
max=individu.score
L.append(max)
print(i,":",max)
L.append(1/max)
print(i,":",1/max)
plt.plot([i for i in range(tmax)], L)
plt.show()
return(best, People)
best, People = main(60,100,0.01,20)
traj = Traj3D()
traj.compute(best.brin,best.table)
traj.draw("plot")
best,People = main(100,100,0.01,50)
best,People = main(60,100,0.01,25)
traj = Traj3D()
traj.compute(best.brin,best.table)
traj.draw("plot")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment