Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EI Jeux Evolutionnaires
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
Container Registry
Model registry
Operate
Environments
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
Santos Garcia Carlos
EI Jeux Evolutionnaires
Commits
c76ef824
Commit
c76ef824
authored
5 years ago
by
Santos Garcia Carlos
Browse files
Options
Downloads
Patches
Plain Diff
Commentaires croisements
parent
60ed81cb
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
croisement.py
+4
-0
4 additions, 0 deletions
croisement.py
with
4 additions
and
0 deletions
croisement.py
+
4
−
0
View file @
c76ef824
...
...
@@ -23,6 +23,8 @@ ROT_TABLE = {\
def
croisement_un_point
(
parent1
,
parent2
):
'''
Croise les tables de rotation des parents pour former deux enfants en respectant les symétries du problème
'''
'''
Retourne deux enfants
'''
enfant1
=
Individu
(
RotTable
())
enfant2
=
Individu
(
RotTable
())
comp
=
0
...
...
@@ -57,6 +59,8 @@ def croisement_un_point(parent1, parent2):
def
croisement_deux_points
(
parent1
,
parent2
):
'''
Croise les tables de rotationd des deux parents en croisant à deux points et respectant les symétries du problème
'''
'''
Retourne deux enfants
'''
enfant1
=
Individu
(
RotTable
())
enfant2
=
Individu
(
RotTable
())
comp
=
0
...
...
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