diff --git a/__pycache__/RotTable.cpython-37.pyc b/__pycache__/RotTable.cpython-37.pyc index d514657e928592533bc38f33555cdd3fcc712957..488d94e3495eb14f5e5656ee066c85187063795a 100644 Binary files a/__pycache__/RotTable.cpython-37.pyc and b/__pycache__/RotTable.cpython-37.pyc differ diff --git a/__pycache__/Traj3D.cpython-37.pyc b/__pycache__/Traj3D.cpython-37.pyc index 19e88a81f3a4a899484f447a09ccd78a13386601..bb19acf2cb441bd950ad0bafe725b66e924b457a 100644 Binary files a/__pycache__/Traj3D.cpython-37.pyc and b/__pycache__/Traj3D.cpython-37.pyc differ diff --git a/__pycache__/individu.cpython-37.pyc b/__pycache__/individu.cpython-37.pyc index f158db78fd2d44d8b53552729b011e9150718878..421ada9911f9aceeb1a109b57518c98bb35bfd74 100644 Binary files a/__pycache__/individu.cpython-37.pyc and b/__pycache__/individu.cpython-37.pyc differ diff --git a/algogenetique.py b/algogenetique.py index 8a1874e03d214a4c3f2f9804b275af26d35d8f5e..a2c977b0ea7b69061d3bf6275614a6ffbe78ec29 100644 --- a/algogenetique.py +++ b/algogenetique.py @@ -29,10 +29,11 @@ def main(N,tmax,pmutation, proportion,brin="plasmid_8k.fasta"): plt.plot([i for i in range(tmax)], L) plt.show() - return(best) - - -main(100,100,0,50) + return(best,People) +best,People = main(100,100,0.01,50) +test = Traj3D() +test.compute("AAAGGATCTTCTTGAGATCCTTTTTTTCTGCGCGTAATCTGCTGCCAGTAAACGAAAAAACCGCCTGGGGAGGCGGTTTAGTCGAA", best.table) +test.draw("first_plot") diff --git a/first_plot.png b/first_plot.png index 0e536fb530ea40bc82a9395940755ad27a030609..e091d954c547a80658df7854ba7835a2e39f1b11 100644 Binary files a/first_plot.png and b/first_plot.png differ