Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EI - Jeux Evolu
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nadin Thibault
EI - Jeux Evolu
Commits
e044eb81
Commit
e044eb81
authored
2 years ago
by
Nadin Thibault
Browse files
Options
Downloads
Patches
Plain Diff
bidule
parent
57c14f9d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
3dna/Constantes.py
+6
-5
6 additions, 5 deletions
3dna/Constantes.py
3dna/RotTable.py
+1
-1
1 addition, 1 deletion
3dna/RotTable.py
with
7 additions
and
6 deletions
3dna/Constantes.py
+
6
−
5
View file @
e044eb81
ALPHA
=
3
ALPHA
=
3
#Nombre de redécoupage de la séquence dans la fonction evaluate2
p
=
0.2
Pm
=
0.3
size
=
64
nb_iter
=
100
AGRANDISSEMENT
=
5
size
=
128
nb_iter
=
300
AGRANDISSEMENT
=
5
#C'est le nombre de point qu'on utilise pour recoller
Prise_en_compte_angle
=
5
nom_selection
=
"
selection_tournoi
"
nom_croisement
=
"
croisement_
en_un_point
"
nom_croisement
=
"
croisement_
milieu
"
List_of_genes
=
[
"
AA
"
,
"
AC
"
,
"
AG
"
,
"
AT
"
,
"
TA
"
,
"
CA
"
,
"
CC
"
,
"
CG
"
,
"
GC
"
,
"
CT
"
]
#les gènes à modifier
Symetrique
=
{
"
AA
"
:
"
TT
"
,
"
AC
"
:
"
TG
"
,
"
AG
"
:
"
TC
"
,
"
AT
"
:
None
,
...
...
This diff is collapsed.
Click to expand it.
3dna/RotTable.py
+
1
−
1
View file @
e044eb81
...
...
@@ -114,7 +114,7 @@ class RotTable:
Y
=
traj
.
getTraj
()[
1
]
Z
=
traj
.
getTraj
()[
-
2
]
T
=
traj
.
getTraj
()[
-
1
]
return
(
res
/
AGRANDISSEMENT
-
prod_scalaire
(
X
,
Y
,
Z
,
T
)
*
5
)
return
(
res
/
AGRANDISSEMENT
-
prod_scalaire
(
X
,
Y
,
Z
,
T
)
*
Prise_en_compte_angle
)
def
evaluate2
(
self
,
molecule
):
n
=
len
(
molecule
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment