Skip to content
Snippets Groups Projects
Commit 97ca2183 authored by Kappes Marques Rodrigo's avatar Kappes Marques Rodrigo
Browse files

added average

parent f6c26454
Branches
No related tags found
No related merge requests found
......@@ -45,7 +45,7 @@ def main(N,tmax,pmutation, proportion):
S2=[individu.score for individu in People.indiv]
print("Score final: ",best.score)
print("Avg:", sum(S2)/len(S2))
plt.subplot(224)
plt.hist(S2, range = (0,maximum+10), bins = 20, color = 'blue')
......@@ -56,7 +56,7 @@ def main(N,tmax,pmutation, proportion):
lineList = [line.rstrip('\n') for line in open("plasmid_8k.fasta")]
brin = ''.join(lineList[1:])
best,People = main(200,10,0.01,100)
best,People = main(20,10,0.01,10)
test = Traj3D()
test.compute(brin, best.table)
test.draw("first_plot")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment