|
Nemo
2.4.0b
Simulate forward-in-time genetic evolution in a spatially explicit, individual-based stochastic simulator
|
#include <sstream>#include <fstream>#include <string.h>#include <cmath>#include <algorithm>#include <utility>#include "simenv.h"#include "ttquanti.h"#include "ttquanti_bitstring.h"#include "ttquanti_epistasis.h"#include "filehandler.h"#include "output.h"#include "Uniform.h"#include "tstring.h"#include "utils.h"Functions | |
| void | store_quanti_trait_values (Patch *patch, unsigned int patchID, unsigned int size, unsigned int *cntr, sex_t SEX, age_idx AGE, DataTable< double > *ptable, DataTable< double > *gtable, unsigned int nTrait, unsigned int TraitIndex) |
Nemo2
Copyright (C) 2006-2023 Frederic Guillaume guillaume.fred@gmail.com
This file is part of Nemo
Nemo is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Nemo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
created on
| void store_quanti_trait_values | ( | Patch * | patch, |
| unsigned int | patchID, | ||
| unsigned int | size, | ||
| unsigned int * | cntr, | ||
| sex_t | SEX, | ||
| age_idx | AGE, | ||
| DataTable< double > * | ptable, | ||
| DataTable< double > * | gtable, | ||
| unsigned int | nTrait, | ||
| unsigned int | TraitIndex | ||
| ) |
References Patch::get(), TTQuanti::get_full_genotype(), Individual::getTrait(), TTQuanti::getValue(), and DataTable< T >::set().
Referenced by TTQuantiSH::setDataTables().
1.9.1 -- Nemo is hosted on