Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
aevol-eukaryotes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
LUISELLI Juliette
aevol-eukaryotes
Commits
03d1d8af
Commit
03d1d8af
authored
1 year ago
by
LUISELLI Juliette
Browse files
Options
Downloads
Patches
Plain Diff
Use correct NewIndivEvent at run time in ExpManager_7
parent
499d916b
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
src/libaevol/7/ExpManager_7.cpp
+16
-0
16 additions, 0 deletions
src/libaevol/7/ExpManager_7.cpp
with
16 additions
and
0 deletions
src/libaevol/7/ExpManager_7.cpp
+
16
−
0
View file @
03d1d8af
...
@@ -422,6 +422,22 @@ void ExpManager_7::do_mutation(int indiv_id) {
...
@@ -422,6 +422,22 @@ void ExpManager_7::do_mutation(int indiv_id) {
exp_m_
->
exp_s
()
->
mut_params
()
->
max_tries
(),
exp_m_
->
exp_s
()
->
mut_params
()
->
max_tries
(),
exp_m_
->
exp_s
()
->
mut_params
()
->
min_align_score
());
exp_m_
->
exp_s
()
->
mut_params
()
->
min_align_score
());
if
(
exp_m_
->
record_tree
())
{
int
x
=
indiv_id
/
exp_m_
->
world
()
->
height
();
int
y
=
indiv_id
%
exp_m_
->
world
()
->
height
();
NewIndivEvent
*
eindiv
=
new
NewIndivEvent
(
current_individuals
[
indiv_id
],
previous_individuals
[
next_generation_reproducer_
[
indiv_id
]],
previous_individuals
[
next_generation_reproducer_2
[
indiv_id
]],
x
,
y
,
indiv_id
,
next_generation_reproducer_
[
indiv_id
],
next_generation_reproducer_2
[
indiv_id
]);
exp_m_
->
tree
()
->
update_new_indiv
(
eindiv
);
delete
eindiv
;
}
if
(
exp_manager
->
record_tree
())
{
if
(
exp_manager
->
record_tree
())
{
Recombination
*
recomb
=
new
Recombination
(
current_individuals
[
indiv_id
]
->
recomb_posA_
,
Recombination
*
recomb
=
new
Recombination
(
current_individuals
[
indiv_id
]
->
recomb_posA_
,
current_individuals
[
indiv_id
]
->
recomb_posB_
,
current_individuals
[
indiv_id
]
->
recomb_posB_
,
...
...
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