29#ifndef TTNEUTRALGENES_H
30#define TTNEUTRALGENES_H
45class TTNtrlPhenotyperFH;
124 virtual void init ( );
126 virtual void reset ( );
132 {assert(locus <
_locus_num && allele < 2);
_sequence[allele][locus] = (
unsigned char)value;}
146 for(
unsigned int j = 0; j <
_ploidy; ++j)
152 for(
unsigned int j = 0; j <
_ploidy; ++j)
250 virtual void FHread (
string& filename);
326 if(
_D != NULL)
delete _D;
329 virtual void init ( ) ;
405 void setFst_li(
unsigned int N,
unsigned int L,
double **array);
456 double Coancestry (
void** ind1,
void** ind2,
unsigned int nb_locus);
503 unsigned int scale = (
unsigned int)pow( 10.0, (
int)log10((
float)
_D->
getNbCols()) + 1 );
504 return _D->
get(i/scale,i%scale);
514 double getDxy (
unsigned int age_class);
A class to store any kind of data in a char buffer before unloading it in a binary data file.
Definition: binarystoragebuffer.h:44
void read(void *out, unsigned int nb_bytes)
Definition: binarystoragebuffer.h:162
void store(void *stream, unsigned int nb_bytes)
Definition: binarystoragebuffer.cc:16
T get(unsigned int group, unsigned int Class, unsigned int elmnt)
Returns value stored of the element 'elmnt' of the class 'Class' in the group 'group'.
Definition: datatable.h:228
unsigned int getNumGroups()
Definition: datatable.h:258
A class to manage the files associated with each components of the simulation.
Definition: fileservices.h:52
This class contains traits along with other individual information (sex, pedigree,...
Definition: individual.h:49
Set patch-specifiec initial genotypes values.
Definition: ttneutralgenes.h:528
virtual age_t requiredAgeClass()
Definition: ttneutralgenes.h:553
virtual age_t removeAgeClass()
Definition: ttneutralgenes.h:551
TMatrix _init_freq
Definition: ttneutralgenes.h:530
virtual ~LCE_NtrlInit()
Definition: ttneutralgenes.h:537
unsigned int _nLoci
Definition: ttneutralgenes.h:531
virtual void execute()
Definition: ttneutralgenes.cc:2305
virtual age_t addAgeClass()
Definition: ttneutralgenes.h:552
virtual LifeCycleEvent * clone()
Definition: ttneutralgenes.h:543
void init_allele_freq(sex_t SEX, age_idx AGE, unsigned int size, unsigned int deme, double *values)
Definition: ttneutralgenes.cc:2329
virtual void loadFileServices(FileServices *loader)
Definition: ttneutralgenes.h:548
virtual bool setParameters()
Definition: ttneutralgenes.cc:2281
LCE_NtrlInit()
Definition: ttneutralgenes.cc:2274
virtual bool resetParameterFromSource(std::string param, SimComponent *cmpt)
Definition: ttneutralgenes.h:550
virtual void loadStatServices(StatServices *loader)
Definition: ttneutralgenes.h:549
Base class of the Life Cycle Events, declares the LCE interface.
Definition: lifecycleevent.h:73
Second class in the metapopulation design structure, between the Metapop and Individual classes.
Definition: metapop.h:430
Interface to all basic components of a simulation (traits, life cycle events, pop,...
Definition: simcomponent.h:45
The Service class used to manage the StatHandler objects.
Definition: statservices.h:50
A class to handle matrix in params, coerces matrix into a vector of same total size.
Definition: tmatrix.h:49
double get(unsigned int i, unsigned int j)
Accessor to element at row i and column j.
Definition: tmatrix.h:147
unsigned int getNbCols()
Gives the number of columns.
Definition: tmatrix.h:169
Prototype class for the TTNeutralGenes trait class.
Definition: ttneutralgenes.h:164
virtual bool resetParameterFromSource(std::string param, SimComponent *cmpt)
Definition: ttneutralgenes.cc:456
TTNeutralGenesSH * _stats
Definition: ttneutralgenes.h:178
virtual void loadFileServices(FileServices *loader)
Definition: ttneutralgenes.cc:154
unsigned int _allele_num
Definition: ttneutralgenes.h:167
const trait_t _type
Definition: ttneutralgenes.h:179
double _mut_rate
Definition: ttneutralgenes.h:170
virtual void init()
Definition: ttneutralgenes.h:199
unsigned short _init_model
Definition: ttneutralgenes.h:172
virtual trait_t get_type() const
Definition: ttneutralgenes.h:207
unsigned int get_locus_num()
Definition: ttneutralgenes.h:190
virtual bool retrieve_data(BinaryStorageBuffer *reader)
Definition: ttneutralgenes.cc:445
double _recomb_rate
Definition: ttneutralgenes.h:173
unsigned int _locus_num
Definition: ttneutralgenes.h:168
virtual bool setParameters()
Definition: ttneutralgenes.cc:95
void inherit_low(sex_t SEX, unsigned char *seq, unsigned char **parent)
Definition: ttneutralgenes.cc:368
virtual void store_data(BinaryStorageBuffer *saver)
Definition: ttneutralgenes.h:218
TProtoNeutralGenes()
Definition: ttneutralgenes.cc:49
unsigned int get_ploidy()
Definition: ttneutralgenes.h:189
unsigned int get_allele_num()
Definition: ttneutralgenes.h:191
virtual void reset()
Definition: ttneutralgenes.h:201
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:175
vector< TTNeutralGenesFH * > _writers
Definition: ttneutralgenes.h:177
unsigned int _ploidy
Definition: ttneutralgenes.h:169
virtual TProtoNeutralGenes * clone()
Definition: ttneutralgenes.h:205
virtual TTNeutralGenes * hatch()
Definition: ttneutralgenes.cc:328
int _mut_model
Definition: ttneutralgenes.h:171
void inherit_free(sex_t SEX, unsigned char *seq, unsigned char **parent)
Definition: ttneutralgenes.cc:358
virtual void loadStatServices(StatServices *loader)
Definition: ttneutralgenes.cc:314
virtual ~TProtoNeutralGenes()
Definition: ttneutralgenes.cc:84
TTNeutralGenesSH * get_stater()
Definition: ttneutralgenes.h:193
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:174
A file handler to save the neutral markers genotypes in the FSTAT format (extended).
Definition: ttneutralgenes.h:235
void write_patch_GENEPOP(Patch *patch, sex_t SEX, age_idx AGE, ofstream &FH, unsigned int digits)
Definition: ttneutralgenes.cc:1169
void(TTNeutralGenesFH::* write_fct)()
Definition: ttneutralgenes.h:238
void write_patch_FSTAT(Patch *patch, sex_t SEX, age_idx AGE, ofstream &FH, unsigned int digits)
Definition: ttneutralgenes.cc:1083
virtual void FHwrite()
Definition: ttneutralgenes.cc:714
virtual ~TTNeutralGenesFH()
Definition: ttneutralgenes.h:246
void write_GENEPOP()
Definition: ttneutralgenes.cc:1113
void write_PLINK_BED(ofstream &BED)
Definition: ttneutralgenes.cc:974
void write_Fst_i()
Definition: ttneutralgenes.cc:1343
string _output_option
Definition: ttneutralgenes.h:237
void setOutputOption(string opt)
Definition: ttneutralgenes.cc:703
void write_FSTAT()
Definition: ttneutralgenes.cc:1032
void print_PLINK_PED(ofstream &FH, age_idx Ax, Patch *patch)
Definition: ttneutralgenes.cc:905
void write_patch_TAB(Patch *patch, sex_t SEX, age_idx AGE, ofstream &FH)
Definition: ttneutralgenes.cc:787
virtual void FHread(string &filename)
Definition: ttneutralgenes.cc:1199
void write_TAB()
Definition: ttneutralgenes.cc:733
void write_varcompWC()
Definition: ttneutralgenes.cc:1409
void write_PLINK()
Definition: ttneutralgenes.cc:828
void set_write_fct(void(TTNeutralGenesFH::*fct_ptr)())
Definition: ttneutralgenes.h:266
TTNeutralGenesFH(TProtoNeutralGenes *TP)
Definition: ttneutralgenes.h:242
The stat handler for neutral markers.
Definition: ttneutralgenes.h:277
void setAdultHeterozygosity()
Definition: ttneutralgenes.h:348
virtual ~TTNeutralGenesSH()
Definition: ttneutralgenes.h:319
double setHo(age_idx age_pos)
Definition: stats_fstat.cc:363
DataTable< unsigned int > * getAlleleCountTable()
Definition: ttneutralgenes.h:372
void setFstatWeirCockerham_MS(age_t AGE)
Definition: stats_fstat.cc:854
double getGlobalAlleleFreq(unsigned int loc, unsigned int all)
Definition: ttneutralgenes.h:351
void setFreqRecordersPerPatch(age_t AGE)
void setAdultsFstat2()
Definition: ttneutralgenes.h:427
double getSibCoaMeans(unsigned int i)
Definition: ttneutralgenes.h:493
TTNeutralGenesSH(TProtoNeutralGenes *TP)
Definition: ttneutralgenes.h:313
double setHt(age_idx age_pos)
Definition: stats_fstat.cc:455
double getHeterozygosity(unsigned int loc)
Definition: ttneutralgenes.h:355
double getHsnei()
Definition: ttneutralgenes.h:416
double getDxyPerPatch(age_idx age, unsigned int patch1, unsigned patch2)
Definition: stats_fstat.cc:1236
double getSibProportions(unsigned int i)
Definition: ttneutralgenes.h:492
deque< double > setHo2(age_idx age_pos)
Definition: stats_fstat.cc:545
void setAdultsCoaWithin()
Definition: ttneutralgenes.h:467
double _fst
Definition: ttneutralgenes.h:295
void setAlleleTables(age_t AGE)
Definition: stats_fstat.cc:74
void setOffsprgCoaWithin()
Definition: ttneutralgenes.h:468
double getFixLocGlobal()
Definition: ttneutralgenes.h:445
void setFstatWeirCockerham(age_t AGE)
Computes the Weir & Cockerham (1984) Fstat values (Theta, F, and f).
Definition: stats_fstat.cc:771
void setSibStats()
Definition: stats_coa.cc:279
void setFstMatrix(age_t AGE, unsigned char dim)
Computes the weighted within and between patch Fst's as well as the overall Fst (Theta).
Definition: stats_fstat.cc:665
void allocateTables(unsigned int loci, unsigned int all)
Definition: stats_fstat.cc:43
double getFit()
Definition: ttneutralgenes.h:423
double _hs
Definition: ttneutralgenes.h:294
DataTable< unsigned int > _alleleCountTable
Definition: ttneutralgenes.h:279
void setSibCoa(Individual *I1, Individual *I2)
Definition: stats_coa.cc:350
void setDxyRecorders(age_t AGE, bool patchwise)
Definition: ttneutralgenes.cc:2237
double _nb_all_local
Definition: ttneutralgenes.h:294
double * _fis_WC_loc
Definition: ttneutralgenes.h:301
double _ht
Definition: ttneutralgenes.h:294
double _mean_alpha
Definition: ttneutralgenes.h:286
TMatrix * _fst_matrix
Pairwise Fst matrix.
Definition: ttneutralgenes.h:305
void setAdultsFstat()
Definition: ttneutralgenes.h:412
double _fst_W1
Definition: ttneutralgenes.h:303
void setNeiGeneticDistance(age_t AGE)
Definition: stats_fstat.cc:1129
DataTable< double > _heteroTable
Definition: ttneutralgenes.h:281
void setCoaMatrixRecorders(age_t AGE, unsigned char dim)
Definition: ttneutralgenes.cc:1995
double getHt()
Definition: ttneutralgenes.h:420
void setAdultsFstatWeirCockerham()
Definition: ttneutralgenes.h:436
double _meanD
Definition: ttneutralgenes.h:309
void setFstatRecorders(age_t AGE)
Definition: ttneutralgenes.cc:2083
double _mean_theta
Definition: ttneutralgenes.h:286
double getCoa(unsigned int i)
Gets the given coancestry coefficient from the coancestry matrix.
Definition: ttneutralgenes.h:477
void setAdultAlleleFreq()
Definition: ttneutralgenes.h:345
void setOffspringFstatWeirCockerham()
Definition: ttneutralgenes.h:435
double getNbAllGlobal()
Definition: ttneutralgenes.h:443
void setOffsprgCoaBetween()
Definition: ttneutralgenes.h:470
double _ho
F-statistics.
Definition: ttneutralgenes.h:294
double getWeightedFst()
Returns the weighted Fst using Weir & Hill (2002) method.
Definition: ttneutralgenes.h:397
void setAdultsFstBetween()
Definition: ttneutralgenes.h:391
double getMeanTheta()
Definition: ttneutralgenes.h:482
void setCoaMatrix(age_idx age_pos, unsigned char dim)
Computes the within and between patches coancestry coefficients.
Definition: stats_coa.cc:59
double Theta_MM
Definition: ttneutralgenes.h:285
unsigned int _table_set_gen
Definition: ttneutralgenes.h:283
double getMeanAlpha()
Definition: ttneutralgenes.h:483
TMatrix * getGlobalFreqs()
Accessor to the table of allele frequencies in the whole population.
Definition: ttneutralgenes.h:377
double Theta_FM
Definition: ttneutralgenes.h:285
double getNeiGeneticDistance(unsigned int i)
Definition: ttneutralgenes.h:501
double getHs()
Definition: ttneutralgenes.h:419
double getHo()
Definition: ttneutralgenes.h:418
double getDxyAdultPerPatch(unsigned int patch1, unsigned patch2)
Definition: ttneutralgenes.h:512
double _fst_W2
Definition: ttneutralgenes.h:303
deque< double > setHt2(age_idx age_pos)
Definition: stats_fstat.cc:639
TMatrix * _D
Definition: ttneutralgenes.h:308
void setFreqRecorders(age_t AGE)
Definition: ttneutralgenes.cc:2051
double * _fst_WC_loc
Per-locus F-stats (Weir&Cockerham).
Definition: ttneutralgenes.h:301
double * _fit_WC_loc
Definition: ttneutralgenes.h:301
void setOffsprgNeiGeneticDistance()
Definition: ttneutralgenes.h:499
TMatrix _globalAlleleFreq
Definition: ttneutralgenes.h:282
void setOffsprgCoaMatrix()
Definition: ttneutralgenes.h:466
DataTable< double > * getHeteroTable()
Definition: ttneutralgenes.h:374
TMatrix * _coa_matrix
Definition: ttneutralgenes.h:287
void setOffsprgFstBetween()
Definition: ttneutralgenes.h:394
void setAdultsFstMatrix()
Definition: ttneutralgenes.h:389
double _fis_WC
Definition: ttneutralgenes.h:299
void setFstat(age_t AGE)
Computes the F-statistics following Nei & Chesser (1983).
Definition: stats_fstat.cc:254
void setAdltNeiGeneticDistance()
Definition: ttneutralgenes.h:498
double getDxy(unsigned int age_class)
Definition: stats_fstat.cc:1210
double getFis()
Definition: ttneutralgenes.h:422
double getNbAllLocal()
Definition: ttneutralgenes.h:442
double _sib_coa[4]
Definition: ttneutralgenes.h:291
double getTheta_FF()
Gives the mean within females coancestry coefficient.
Definition: ttneutralgenes.h:485
void setOffspringHeterozygosity()
Definition: ttneutralgenes.h:349
void setFst_li(unsigned int N, unsigned int L, double **array)
Computes the per-locus per-patch Fst values using Weir&Hill 2002 approach.
Definition: stats_fstat.cc:1057
void setHeteroTable(age_t AGE)
Definition: stats_fstat.cc:166
double getTheta_MM()
Gives the mean within males coancestry coefficient.
Definition: ttneutralgenes.h:487
virtual bool setStatRecorders(std::string &token)
Definition: ttneutralgenes.cc:1742
double getFixLocLocal()
Definition: ttneutralgenes.h:444
double getFitWC()
Definition: ttneutralgenes.h:439
double getHtnei()
Definition: ttneutralgenes.h:417
void setLociDivCounter(age_t AGE)
Sets the allelic diversity counters.
Definition: stats_fstat.cc:295
void setOffsprgFstat()
Definition: ttneutralgenes.h:411
deque< double > setHs2(age_idx age_pos)
Definition: stats_fstat.cc:589
double getTheta_FM()
Gives the mean between males and females coancestry coefficient.
Definition: ttneutralgenes.h:489
double _fis
Definition: ttneutralgenes.h:295
double _fix_loc_local
Definition: ttneutralgenes.h:295
void setOffsprgFstWithin()
Definition: ttneutralgenes.h:393
double _fit
Definition: ttneutralgenes.h:295
void setFstatWCRecorders(age_t AGE)
Definition: ttneutralgenes.cc:2139
double setHs(age_idx age_pos)
Definition: stats_fstat.cc:410
void setHeterozygosity(age_t AGE)
Definition: stats_fstat.cc:225
double getDxyOffspringPerPatch(unsigned int patch1, unsigned patch2)
Definition: ttneutralgenes.h:511
double Theta_FF
Definition: ttneutralgenes.h:285
unsigned int _table_set_age
Definition: ttneutralgenes.h:283
double getFst_ij(unsigned int i)
Accessor to the Fst matrix as set by setFstMatrix().
Definition: ttneutralgenes.h:399
double _sib_prop[4]
Kinship classes proportions.
Definition: ttneutralgenes.h:290
void setFstMatrixRecorders(age_t AGE, unsigned char dim)
Definition: ttneutralgenes.cc:2159
DataTable< double > * getAlleleFreqTable()
Accessor to the table of allele frequencies, per patch.
Definition: ttneutralgenes.h:370
void setAdultsCoaBetween()
Definition: ttneutralgenes.h:469
void setAdultsFstWithin()
Definition: ttneutralgenes.h:390
void setOffsprgFstMatrix()
Definition: ttneutralgenes.h:392
double getFstWC()
Definition: ttneutralgenes.h:437
double Coancestry(void **ind1, void **ind2, unsigned int nb_locus)
Gives the coancestry (probability of identity by state) of two gene sequences.
Definition: stats_coa.cc:43
void setNeiGeneticDistanceRecorders(age_t AGE, bool pairwise)
Definition: ttneutralgenes.cc:2207
double getMeanNeiGeneticDistance()
Definition: ttneutralgenes.h:506
double _fit_WC
Definition: ttneutralgenes.h:299
double _hsnei
Definition: ttneutralgenes.h:294
virtual void init()
Definition: ttneutralgenes.cc:1733
double getFisWC()
Definition: ttneutralgenes.h:438
void setOffsprgFstat2()
Definition: ttneutralgenes.h:426
double getFst()
Definition: ttneutralgenes.h:421
void setAdultsCoaMatrix()
Definition: ttneutralgenes.h:465
void setOffspringAlleleFreq()
Definition: ttneutralgenes.h:346
void setAdults_Theta()
Definition: stats_coa.cc:203
double _nb_all_global
Definition: ttneutralgenes.h:294
double _fst_WC
Weir & Cockerham (1984) F-stat estimates.
Definition: ttneutralgenes.h:299
void setFstat2Recorders(age_t AGE)
Definition: ttneutralgenes.cc:2117
double _fix_loc_global
Definition: ttneutralgenes.h:295
double _htnei
Definition: ttneutralgenes.h:294
unsigned int _table_set_repl
Definition: ttneutralgenes.h:283
DataTable< double > _alleleFreqTable
Definition: ttneutralgenes.h:280
void setFstat2(age_t AGE)
New version of Nei & Chesser.
Definition: stats_fstat.cc:482
double _fst_WH
Weir & Hill (2002) F-stat estimates.
Definition: ttneutralgenes.h:297
Microsatellites genome.
Definition: ttneutralgenes.h:54
void set_allele(unsigned int loc, unsigned int al, unsigned char val)
Definition: ttneutralgenes.h:107
virtual bool operator!=(const TTrait &T)
Definition: ttneutralgenes.cc:517
void set_proto(TProtoNeutralGenes *proto)
Definition: ttneutralgenes.h:95
void set_mut_model(int value)
Definition: ttneutralgenes.h:101
virtual bool retrieve_data(BinaryStorageBuffer *reader)
Definition: ttneutralgenes.h:149
virtual void reset()
Definition: ttneutralgenes.cc:592
void mutate_SSM()
Definition: ttneutralgenes.cc:642
void set_2L(unsigned int val)
Definition: ttneutralgenes.h:99
void set_inherit_func_ptr(void(TProtoNeutralGenes::*theFunc)(sex_t, unsigned char *, unsigned char **))
Definition: ttneutralgenes.h:105
unsigned short _init_model
Definition: ttneutralgenes.h:65
void(TProtoNeutralGenes::* _inherit_func_ptr)(sex_t, unsigned char *, unsigned char **)
Definition: ttneutralgenes.h:67
void set_allele_num(int value)
Definition: ttneutralgenes.h:97
unsigned int get_ploidy()
Definition: ttneutralgenes.h:91
unsigned int get_locus_num()
Definition: ttneutralgenes.h:92
TProtoNeutralGenes * _myProto
Definition: ttneutralgenes.h:56
unsigned int get_allele_num()
Definition: ttneutralgenes.h:93
unsigned int _locus_num
Definition: ttneutralgenes.h:59
virtual void * set_trait(void *value)
Definition: ttneutralgenes.h:127
void(TTNeutralGenes::* _mutate_func_ptr)(void)
Definition: ttneutralgenes.h:66
virtual TTNeutralGenes & operator=(const TTrait &T)
Definition: ttneutralgenes.cc:477
virtual void set_allele_value(unsigned int locus, unsigned int allele, double value)
Definition: ttneutralgenes.h:131
virtual bool operator==(const TTrait &T)
Definition: ttneutralgenes.cc:502
virtual void init_sequence()
Definition: ttneutralgenes.cc:557
void mutate_2all()
Definition: ttneutralgenes.cc:684
virtual void set_value()
Definition: ttneutralgenes.h:135
void set_mut_func_ptr(void(TTNeutralGenes::*theFunc)(void))
Definition: ttneutralgenes.h:103
double _recomb_rate
Definition: ttneutralgenes.h:62
virtual void inherit(TTrait *mother, TTrait *father)
Definition: ttneutralgenes.cc:630
const trait_t _type
Definition: ttneutralgenes.h:72
unsigned int _mut_model
Definition: ttneutralgenes.h:63
virtual void set_sequence(void **seq)
Definition: ttneutralgenes.cc:606
virtual trait_t get_type() const
Definition: ttneutralgenes.h:134
unsigned int _allele_num
Definition: ttneutralgenes.h:58
double _mut_rate
Definition: ttneutralgenes.h:61
void set_init_model(unsigned short val)
Definition: ttneutralgenes.h:102
unsigned char ** _sequence
Definition: ttneutralgenes.h:70
virtual ~TTNeutralGenes()
Definition: ttneutralgenes.cc:527
void set_mut_rate(double value)
Definition: ttneutralgenes.h:98
void set_recomb_rate(double value)
Definition: ttneutralgenes.h:100
virtual void store_data(BinaryStorageBuffer *saver)
Definition: ttneutralgenes.h:143
virtual void * getValue() const
Definition: ttneutralgenes.h:136
void mutate_NULL()
Definition: ttneutralgenes.h:117
virtual void mutate()
Definition: ttneutralgenes.h:138
TTNeutralGenes()
Definition: ttneutralgenes.h:76
virtual void show_up()
Definition: ttneutralgenes.cc:615
virtual double get_allele_value(int loc, int all)
Definition: ttneutralgenes.h:129
void mutate_KAM()
Definition: ttneutralgenes.cc:665
virtual void init()
Definition: ttneutralgenes.cc:538
void set_locus_num(int value)
Definition: ttneutralgenes.h:96
TTNeutralGenes(const TTNeutralGenes &T)
Definition: ttneutralgenes.h:80
virtual void ** get_sequence() const
Definition: ttneutralgenes.h:128
virtual TTNeutralGenes * clone()
Definition: ttneutralgenes.h:140
unsigned int _ploidy
Definition: ttneutralgenes.h:60
unsigned int _2L
Definition: ttneutralgenes.h:64
TTProtoWithMap.
Definition: ttrait_with_map.h:176
virtual void reset()
Definition: ttrait_with_map.cc:611
Interface for all trait types, declares all basic trait operations.
Definition: ttrait.h:46
Template class for the trait's FileHandler.
Definition: filehandler.h:217
Template class for the trait's StatHandler.
Definition: stathandler.h:168
std::string trait_t
Trait types.
Definition: types.h:63
#define NTRL
Definition: types.h:70
sex_t
Sex types, males are always 0 and females 1!!
Definition: types.h:36
unsigned int age_t
Age class flags.
Definition: types.h:46
#define ADULTS
Adults age class flag (breeders).
Definition: types.h:54
#define OFFSPRG
Offspring age class flag.
Definition: types.h:50
age_idx
Array index of the age classes in the patch sizes and containers arrays.
Definition: types.h:41
@ OFFSx
Definition: types.h:42
@ ADLTx
Definition: types.h:42