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

test

parent a3c91feb
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
......@@ -15,6 +15,10 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"):
brin = ''.join(lineList[1:])'''
L=[]
People=Population(N)
print(People.indiv[0].table.rot_table)
print(People.indiv[1].table.rot_table)
print(People.indiv[2].table.rot_table)
print(People.indiv[3].table.rot_table)
for i in range(tmax):
max=0
best=None
......@@ -29,7 +33,6 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"):
best=individu
max=individu.score
L.append(max)
print(L)
plt.plot([i for i in range(tmax)], L)
plt.show()
return(individu)
......
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