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

Merge branch 'master' of...

parents cc8dfec3 32b84240
No related branches found
No related tags found
No related merge requests found
......@@ -26,13 +26,13 @@ class Individu():
first_name = brin[0]
last_name = brin[-1]
rot_computed = self.table.rot_table[last_name+first_name]
rot_traj = first_nucleotide - last_nucleotide
#rot_computed = self.table.rot_table[last_name+first_name]
#rot_traj = first_nucleotide - last_nucleotide
# print(rot_traj)
# print(rot_computed)
diff_angle = sum(abs(rot_computed - rot_traj))
#diff_angle = sum(abs(rot_computed - rot_traj))
self.score = 1/(distance + diff_angle)
self.score = 1/(distance)
def mutation(self, proba = P1):
......
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