Nemo  2.3.46
types.h File Reference
#include <string>

Go to the source code of this file.

Macros

#define NONE   0
 No age flag. More...
 
#define OFFSPRG   1
 Offspring age class flag. More...
 
#define POSTDISP   2
 Post-dispersal age class flag (pre-adults in unregulated patches). More...
 
#define ADULTS   4
 Adults age class flag (breeders). More...
 
#define ALL   7
 All ages age class flag. More...
 
#define TRAIT_T_MAX   5
 Max number of characters in the trait's type descriptor. More...
 
#define DELE   "delet"
 
#define DISP   "disp"
 
#define FDISP   "fdisp"
 
#define MDISP   "mdisp"
 
#define NTRL   "ntrl"
 
#define DQUANT   "qdisc"
 
#define QUANT   "quant"
 
#define WOLB   "wolb"
 
#define PHENO   "pheno"
 

Typedefs

typedef unsigned int age_t
 Age class flags. More...
 
typedef std::string trait_t
 Trait types. More...
 

Enumerations

enum  sex_t { MAL =0, FEM =1 }
 Sex types, males are always 0 and females 1!! More...
 
enum  age_idx {
  OFFSx =0, PDISPx =1, ADLTx =2, A2,
  A3, A4, A5, A6,
  A7, A8, A9, A10
}
 Array index of the age classes in the patch sizes and containers arrays. More...
 
enum  st_order { GEN =2, RPL =4, PATCH =8, FLAT =16 }
 Ordering type used to record statistics in the StatRecorders. More...
 
enum  param_t {
  BOOL, DBL, INT, STR,
  MAT, DIST
}
 Param's types. More...
 

Detailed Description

Id
types.h,v 1.7 2015-07-13 08:52:58 fred Exp

Nemo2

Copyright (C) 2006-2015 Frederic Guillaume frede.nosp@m.ric..nosp@m.guill.nosp@m.aume.nosp@m.@ieu..nosp@m.uzh..nosp@m.ch

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

Date
24.08.2004
Author
fred

Macro Definition Documentation

#define ADULTS   4

Adults age class flag (breeders).

Referenced by LCE_Aging::addAgeClass(), TTQuantiSH::addAvgPerPatch(), TTQuantiSH::addCovarPerPatch(), TTQuantiSH::addEigen(), TTQuantiSH::addEigenPerPatch(), TTQuantiSH::addEigenValues(), TTQuantiSH::addEigenValuesPerPatch(), TTQuantiSH::addEigenVect1(), TTQuantiSH::addEigenVect1PerPatch(), MPStatHandler::addIndNumPerPatch(), LCE_SelectionSH::addMeanPerPatch(), TTQuantiSH::addQuanti(), TTQuantiSH::addQuantiPerPatch(), TTQuantiSH::addSkewPerPatch(), TTBDMI_SH::addStats(), TTQuantiSH::addVarPerPatch(), LCE_SelectionSH::addVarPerPatch(), LCE_QuantiInit::execute(), LCE_Regulation::execute(), LCE_NtrlInit::execute(), LCE_Aging::execute(), LCE_Disperse_ConstDisp::execute(), LCE_Breed_Disperse::execute(), LCE_Breed_Selection::execute(), LCE_Resize::execute(), LCE_Breed_Selection_Disperse::execute(), LCE_Init_BDMI::execute(), LCE_Breed::execute(), TTNeutralGenesFH::FHread(), TTDeletMutBitstrFH::FHread(), TTQuantiFH::FHwrite(), TTDeletMutBitstrFH::FHwrite(), LCE_Resize::fillPop(), MPStatHandler::getAdultSexRatio(), TTDeletMutBitstrSH::getAdultsLetheq(), TTNeutralGenesSH::getDxy(), MPStatHandler::getFemNumber(), MPStatHandler::getMalNumber(), TTDispersalSH::getMeanFemDispRate(), TTDispersalSH::getMeanMalDispRate(), MPStatHandler::getMeanPatchDensity(), MPStatHandler::getMeanPatchDensityVariance(), Metapop::loadSourcePopulation(), LCE_Cross::requiredAgeClass(), LCE_Breed_Disperse::requiredAgeClass(), LCE_Breed_Wolbachia::requiredAgeClass(), LCE_Breed_Selection::requiredAgeClass(), LCE_Breed_Selection_Disperse::requiredAgeClass(), LCE_Breed::requiredAgeClass(), LCE_Cross::sampleAmongPop(), TTNeutralGenesSH::setAdltNeiGeneticDistance(), TTNeutralGenesSH::setAdultAlleleFreq(), TTDeletMutBitstrSH::setAdultDeletStats(), TTNeutralGenesSH::setAdultHeterozygosity(), TTNeutralGenesSH::setAdultsFstat(), TTNeutralGenesSH::setAdultsFstat2(), TTNeutralGenesSH::setAdultsFstatWeirCockerham(), TTNeutralGenesSH::setAdultsFstBetween(), TTNeutralGenesSH::setAdultsFstMatrix(), TTNeutralGenesSH::setAdultsFstWithin(), TTQuantiSH::setAdultStats(), LCE_SelectionSH::setAdultTable(), TTNeutralGenesSH::setAlleleTables(), TTNeutralGenesSH::setCoaMatrixRecorders(), LCE_SelectionSH::setDataTable(), TTQuantiSH::setDataTables(), TTDeletMutBitstrSH::setDeletStats(), TTNeutralGenesSH::setFreqRecorders(), TTNeutralGenesSH::setFst_li(), TTNeutralGenesSH::setFstat(), TTNeutralGenesSH::setFstat2(), TTNeutralGenesSH::setFstat2Recorders(), TTNeutralGenesSH::setFstatRecorders(), TTNeutralGenesSH::setFstatWCRecorders(), TTNeutralGenesSH::setFstMatrixRecorders(), TTNeutralGenesSH::setHeteroTable(), TTNeutralGenesSH::setHeterozygosity(), TTWolbachiaSH::setInfectionStats(), TTNeutralGenesSH::setNeiGeneticDistanceRecorders(), Metapop::setPopulationFromSource(), Metapop::setPopulationFromSourceInPreserveMode(), MPStatHandler::setReproductiveStats(), Metapop::setSourceParameters(), MPStatHandler::setStatRecorders(), TTWolbachiaSH::setStatRecorders(), TTQuantiSH::setStatRecorders(), TTBDMI_SH::setStatRecorders(), TTDeletMutBitstrSH::setStatRecorders(), TTNeutralGenesSH::setStatRecorders(), LCE_SelectionSH::setStatRecorders(), TTDeletMutBitstrSH::setStatsForDeletMutations(), MPStatHandler::setStatsForDemography(), MPStatHandler::setStatsForPop(), MPStatHandler::setStatsForPopPerPatch(), TTDeletMutBitstrSH::setViabStats(), Metapop::store_data(), LCE_Resize::updateParameters(), TTBDMI_FH::write_diplo(), TTNeutralGenesFH::write_freq(), TTNeutralGenesFH::write_Fst_i(), TTBDMI_FH::write_haplo(), and TTNeutralGenesFH::write_varcompWC().

#define DELE   "delet"
#define DISP   "disp"
#define DQUANT   "qdisc"
#define FDISP   "fdisp"

Referenced by TTDispersalSH::init().

#define MDISP   "mdisp"

Referenced by TTDispersalSH::init().

#define NTRL   "ntrl"
#define OFFSPRG   1

Offspring age class flag.

Referenced by LCE_Cross::addAgeClass(), LCE_Breed_Disperse::addAgeClass(), LCE_Breed_Wolbachia::addAgeClass(), LCE_Breed_Selection::addAgeClass(), LCE_Breed_Selection_Disperse::addAgeClass(), LCE_Breed::addAgeClass(), TTQuantiSH::addAvgPerPatch(), TTQuantiSH::addCovarPerPatch(), TTQuantiSH::addEigen(), TTQuantiSH::addEigenPerPatch(), TTQuantiSH::addEigenValues(), TTQuantiSH::addEigenValuesPerPatch(), TTQuantiSH::addEigenVect1(), TTQuantiSH::addEigenVect1PerPatch(), MPStatHandler::addIndNumPerPatch(), LCE_SelectionSH::addMeanPerPatch(), TTQuantiSH::addQuanti(), TTQuantiSH::addQuantiPerPatch(), TTQuantiSH::addSkewPerPatch(), TTQuantiSH::addVarPerPatch(), LCE_SelectionSH::addVarPerPatch(), LCE_QuantiInit::execute(), LCE_Regulation::execute(), LCE_NtrlInit::execute(), LCE_Aging::execute(), LCE_Disperse_ConstDisp::execute(), LCE_Cross::execute(), LCE_Breed_Disperse::execute(), LCE_Disperse_EvolDisp::execute(), LCE_Breed_Wolbachia::execute(), LCE_Breed_Selection::execute(), LCE_Resize::execute(), LCE_Breed_Selection_Disperse::execute(), LCE_Selection_base::execute(), LCE_Init_BDMI::execute(), LCE_Breed::execute(), TTQuantiFH::FHwrite(), TTDeletMutBitstrFH::FHwrite(), Metapop::fillPatchFromSource(), LCE_Resize::fillPop(), LCE_Cross::generatePedigree(), TTNeutralGenesSH::getDxy(), TTWolbachiaSH::getMeanOffsprgInfection(), MPStatHandler::getOffFemNumber(), MPStatHandler::getOffMalNumber(), TTDeletMutBitstrSH::getOffsprgLetheq(), TTDispersalSH::getOffsprgMeanDispRate(), MPStatHandler::getOffsprgSexRatio(), Metapop::loadSourcePopulation(), LCE_Aging::removeAgeClass(), LCE_Aging::requiredAgeClass(), LCE_Disperse_base::requiredAgeClass(), LCE_Selection_base::requiredAgeClass(), TTNeutralGenesSH::setDxyRecorders(), TTNeutralGenesSH::setFreqRecorders(), TTNeutralGenesSH::setFstat2Recorders(), TTNeutralGenesSH::setFstatRecorders(), TTNeutralGenesSH::setFstatWCRecorders(), MPStatHandler::setKinship(), TTDeletMutBitstrSH::setOffsprgDeletStats(), TTNeutralGenesSH::setOffsprgFstat(), TTNeutralGenesSH::setOffsprgFstat2(), TTNeutralGenesSH::setOffsprgFstBetween(), TTNeutralGenesSH::setOffsprgFstMatrix(), TTNeutralGenesSH::setOffsprgFstWithin(), TTNeutralGenesSH::setOffsprgNeiGeneticDistance(), TTQuantiSH::setOffsprgStats(), LCE_SelectionSH::setOffsprgTable(), TTNeutralGenesSH::setOffspringAlleleFreq(), TTNeutralGenesSH::setOffspringFstatWeirCockerham(), TTNeutralGenesSH::setOffspringHeterozygosity(), Metapop::setPopulationFromSource(), Metapop::setPopulationFromSourceInPreserveMode(), Metapop::setSourceParameters(), MPStatHandler::setStatRecorders(), TTWolbachiaSH::setStatRecorders(), TTQuantiSH::setStatRecorders(), TTBDMI_SH::setStatRecorders(), TTDeletMutBitstrSH::setStatRecorders(), TTNeutralGenesSH::setStatRecorders(), LCE_SelectionSH::setStatRecorders(), TTDeletMutBitstrSH::setStatsForDeletMutations(), MPStatHandler::setStatsForPop(), MPStatHandler::setStatsForPopPerPatch(), TTDeletMutBitstrSH::setViabStats(), Metapop::store_data(), LCE_Resize::updateParameters(), TTBDMI_FH::write_diplo(), TTNeutralGenesFH::write_freq(), TTBDMI_FH::write_haplo(), and TTNeutralGenesFH::write_varcompWC().

#define PHENO   "pheno"
#define POSTDISP   2

Post-dispersal age class flag (pre-adults in unregulated patches).

#define QUANT   "quant"
#define TRAIT_T_MAX   5

Max number of characters in the trait's type descriptor.

Referenced by Metapop::retrieve_data(), and Metapop::store_data().

#define WOLB   "wolb"

Typedef Documentation

typedef unsigned int age_t

Age class flags.

typedef std::string trait_t

Trait types.

Enumeration Type Documentation

enum age_idx

Array index of the age classes in the patch sizes and containers arrays.

Enumerator
OFFSx 
PDISPx 
ADLTx 
A2 
A3 
A4 
A5 
A6 
A7 
A8 
A9 
A10 
41  {
42  OFFSx=0, PDISPx=1, ADLTx=2, A2, A3, A4, A5, A6, A7, A8, A9, A10
43 }age_idx;
Definition: types.h:42
age_idx
Array index of the age classes in the patch sizes and containers arrays.
Definition: types.h:41
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
Definition: types.h:42
enum param_t

Param's types.

Enumerator
BOOL 
DBL 
INT 
STR 
MAT 
DIST 
77  {
79 }param_t;
Definition: types.h:78
param_t
Param's types.
Definition: types.h:77
Definition: types.h:78
Definition: types.h:78
Definition: types.h:78
Definition: types.h:78
Definition: types.h:78
enum sex_t

Sex types, males are always 0 and females 1!!

Enumerator
MAL 
FEM 
36  {
37  MAL=0, FEM=1
38 } sex_t;
sex_t
Sex types, males are always 0 and females 1!!
Definition: types.h:36
Definition: types.h:37
Definition: types.h:37
enum st_order

Ordering type used to record statistics in the StatRecorders.

Enumerator
GEN 
RPL 
PATCH 
FLAT 
58  {
59  GEN=2,RPL=4,PATCH=8,FLAT=16
60 }st_order;
Definition: types.h:59
Definition: types.h:59
Definition: types.h:59
Definition: types.h:59
st_order
Ordering type used to record statistics in the StatRecorders.
Definition: types.h:58

Generated for Nemo v2.3.0 by  doxygen 1.8.8 --
Catalogued on GSR