Skip to content
Snippets Groups Projects
Commit b3638e02 authored by Muller Sacha's avatar Muller Sacha
Browse files

retirer les print du fichier individu.py

parent 5fe4c4b1
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,8 @@ class Individu():
rot_computed = self.table.Rot_Table[last_name+first_name]
rot_traj = first_nucleotide - last_nucleotide
print(rot_traj)
print(rot_computed)
# print(rot_traj)
# print(rot_computed)
diff_angle = sum(abs(rot_computed - rot_traj))
self.score = 1/(distance + diff_angle)
......@@ -39,10 +39,10 @@ class Individu():
for coord in range(3):
tir = random()
if tir < proba :
print("mutation", doublet, coord)
print("table", table_rotations[doublet][coord])
# print("mutation", doublet, coord)
# print("table", table_rotations[doublet][coord])
table_rotations[doublet][coord] =np.random.uniform(low = self.table.orta()[doublet][coord] - self.table.orta()[doublet][coord + 3], high = self.table.orta()[doublet][coord] + self.table.orta()[doublet][coord + 3])
print("table", table_rotations[doublet][coord])
# print("table", table_rotations[doublet][coord])
# individu1 = Individu(RotTable())
# print(individu1.table.rot_table)
......
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