- 13 Jun, 2022 1 commit
-
-
TURPIN Laurent authored
In ReplicationReport, remove attributes that correspond to statistics of individual that can be recomputed by reading the genome. A major problem was also when recording Trees, if statistics was not computed, the values are completely wrong. Finally, checking if execution is repeatable, the contant of tree files might change according to a spooky and hardly predictable state (AEVOL_NO_STATS)
-
- 10 Jun, 2022 1 commit
-
-
TURPIN Laurent authored
-
- 22 Mar, 2021 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 08 Mar, 2021 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 13 Oct, 2020 3 commits
-
-
TURPIN Laurent authored
-
Naming has changed, so merge was not straighforward, could contain errors.
-
-
- 08 Sep, 2020 1 commit
-
-
Théotime Grohens authored
This commit re-adds some modifications from the aevol_6 branch that had not been kept by the large merge between the aevol_6 and aevol_7 branches.
-
- 07 Sep, 2020 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
The name SIMD was meant to specify the Single Instruction Multiple Data implementation i.e. vectorization but it is now the aevol_7 (previously known as parallel_6) version.
-
- 30 Jul, 2020 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 12 Feb, 2020 1 commit
-
-
FOLEY Marco authored
-
- 30 Aug, 2018 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 24 Aug, 2018 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
Tree/lineage/ancestor stats are working for both vanilla and SIMD (but reproduceability issues between both)
-
- 23 Aug, 2018 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 16 Aug, 2018 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 24 May, 2016 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 30 Oct, 2015 1 commit
-
-
Vincent Liard authored
-
- 29 Oct, 2015 2 commits
-
-
Vincent Liard authored
-
Vincent Liard authored
Magic command for reference: find ! -path '*test*' ! -path './libaevol/SFMT-src-1.4/*' \( -name '*.cpp' -o -name '*.h' \) -print0 | xargs -0 sed -i -r 's/\bget_(\w+)\b/\1/g'
-
- 28 Oct, 2015 1 commit
-
-
Vincent Liard authored
Looking forward to honour Google Style guide, the purpose is to rename getters from get_var() to var(). Many of such renames cause conflicts, though. In this commit, only the safe names were changed. grep -rEo '\bget_\w+\(' --include '*.h' --no-filename --exclude-dir tests \ | sed -e 's/get_//' -e 's/($//' \ | sort -u \ | xargs -n 1 -I% sh -c "grep -roq '\b%\b' --include '*.cpp' --include '*.h' --exclude-dir tests || echo %" \ | xargs -n1 -I% sh -c "find ! -path '*test*' ! -path './libaevol/SFMT-src-1.4/*' \( -name '*.cpp' -o -name '*.h' \) -print0 \ | xargs -0 sed -i -r 's/\bget_%\(/%\(/g'" Yes. I know... http://google-styleguide.googlecode.com/svn/trunk/cppguide.html#Function_Names
-
- 27 Oct, 2015 3 commits
-
-
Vincent Liard authored
Functions with empty argument list should be declared f() rather than f(void).
-
Vincent Liard authored
Took aevol_run.cpp's header as reference header and set it for all Aevol source files.
-
Vincent Liard authored
* Find member variables that could clash : grep -rEo --no-filename '\w+' --include '*.cpp' --include '*.h' | sort -u | grep '^_' > _litigious_tokens.txt : grep -rEo --no-filename '\w+' --include '*.cpp' --include '*.h' | sort -u | grep '_$' > litigious_tokens_.txt : grep -Fx -f <(sed -e 's/_$//' litigious_tokens_.txt) <(sed -e 's/^_//' _litigious_tokens.txt) : cat clashes.txt : | xargs -n 1 -I% sh -c "echo --- % --- ; grep -rlE --include '*.cpp' --include '*.h' '\W_%' : | xargs grep -l '%_\W'" From the resulting list, files of interest, trimmed: ExpManager.h | t_end GeneticUnit.cpp | dna rna_list False positives removed (needed no action) Dna.cpp | indiv ExpManager_X11.cpp | win GeneticUnit.cpp | non_coding_computed GeneticUnit.cpp | transcribed Individual.cpp | modularity OutputManager.cpp | tree PhenotypicTargetHandler.cpp | var_sigma var_tau Protein.cpp | gen_unit height mean width ReplicationReport.cpp | indiv Rna.cpp | gen_unit StatRecord.cpp Stats.cpp | exp_m * Manual fixes [x] ExpManager.h | t_end [x] GeneticUnit.cpp | dna rna_list (almost false positive, would have caused no harm) * Automatic fix all other symbols : find ! -path '*test*' ! -path './libaevol/SFMT-src-1.4/*' \( -name '*.cpp' -o -name '*.h' \) -print0 : | xargs -0 sed -i -r -e 's/([^a-zA-Z0-9_])_([a-zA-Z0-9][a-zA-Z0-9_]+)/\1\2_/g' * Minor afterhand fixes fix OPENMP_ and changed_ with similar `find | xargs sed`s * Check there are no more _members : grep -rEo --no-filename '[^a-zA-Z0-9_]_[a-zA-Z0-9][a-zA-Z0-9_]+' --include '*.cpp' --include '*.h' --exclude-dir tests : | sed -e 's/^.//' | sort -u
-
- 12 Aug, 2015 1 commit
-
-
ROUZAUD-CORNABAS Jonathan authored
-
- 06 Jul, 2015 1 commit
-
-
David Parsons authored
Instead of a single class with switches everywhere, mutations are now handled through a proper polymorphism. Here is the class hierarchy: Mutation <-- LocalMutation <-- PointMutation <-- SmallInsertion <-- SmallDeletion <-- Rearrangement <-- Duplication <-- Deletion <-- Translocation <-- Inversion <-- HT <-- InsertionHT <-- ReplacementHT
-
- 30 Jun, 2015 1 commit
-
-
David Parsons authored
-
- 29 Jun, 2015 3 commits
-
-
David Parsons authored
-
David Parsons authored
The call of an individual to its replication report's signal_end_of_replication is now indirect
-
David Parsons authored
-
- 19 Jun, 2015 1 commit
-
-
David Parsons authored
The responsability of the creation of the tree was shared between different entities (the tree of course, but also the individuals and their dna). This made it really difficult to deal with. The solution presented here isn't optimal (yet ?). In particular, trees had to be temporarily disabled for experiments with plasmids. The tree now handles itself more independently. It is filled with naive ReplicationReports which will have to be : - initialized at the beginning of a replication - filled in at the end of a replication - finalized at the end of a generation In the future, it would be nice to implement that as an Observer pattern to decouple the involved classes
-
- 17 Jun, 2015 4 commits
-
-
David Parsons authored
-
David Parsons authored
-
David Parsons authored
-
David Parsons authored
-
- 12 Mar, 2015 1 commit
-
-
David Parsons authored
-
- 26 Feb, 2015 1 commit
-
-
Vincent Liard authored
-
- 20 Feb, 2015 2 commits
-
-
Vincent Liard authored
And fix #includes and libaevol/Makefile.am.
-
Vincent Liard authored
Renamed ae_dna_replic_report to DnaReplicReport. Renamed member variables with no prefix _ and with a trailing _. Variable names should not start with and underscore as these names are reserved to the compiler implementation. (C++03 standard: §17.4.3.1.2/1). But class member variables can END with a trailing underscore.
-
- 19 Feb, 2015 2 commits
-
-
Vincent Liard authored
And a bit of other ae_lists removal.
-
Vincent Liard authored
-