types.h File Reference

Id
types.h,v 1.3 2006/05/15 23:46:08 freg Exp
More...

#include <string>

Include dependency graph for types.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

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

Typedefs

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

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.3 2006/05/15 23:46:08 freg Exp

Nemo2

Copyright (C) 2006 Frederic Guillaume guillaum@zoology.ubc.ca

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

Definition in file types.h.


Define Documentation

#define ADULTS   4

Adults age class flag (breeders).

Definition at line 54 of file types.h.

Referenced by LCE_Aging::addAgeClass(), LCE_Resize::execute(), LCE_Regulation::execute(), LCE_Aging::execute(), LCE_Disperse_ConstDisp::execute(), LCE_Breed_Selection::execute(), LCE_Breed_Selection_Disperse::execute(), LCE_Breed_Disperse::execute(), LCE_Breed::execute(), TTNeutralGenesFH::FHread(), TTDeletMutBitstrFH::FHread(), TTDeletMutBitstrFH::FHwrite(), LCE_Resize::fillPop(), TTDeletMutBitstrSH::getAdultsLetheq(), LCE_Selection_base::getMeanFitness(), Metapop::loadSourcePopulation(), LCE_Cross::requiredAgeClass(), LCE_Breed_Selection_Disperse::requiredAgeClass(), LCE_Breed_Selection::requiredAgeClass(), LCE_Breed_Disperse::requiredAgeClass(), LCE_Breed_Wolbachia::requiredAgeClass(), LCE_Breed::requiredAgeClass(), TTNeutralGenesSH::setAdltNeiGeneticDistance(), TTDeletMutBitstrSH::setAdultDeletStats(), TTNeutralGenesSH::setAdultsFstat(), TTNeutralGenesSH::setAdultsFstatWeirCockerham(), TTNeutralGenesSH::setAdultsFstBetween(), TTNeutralGenesSH::setAdultsFstMatrix(), TTNeutralGenesSH::setAdultsFstWithin(), TTNeutralGenesSH::setCoaMatrixRecorders(), TTNeutralGenesSH::setFstatRecorders(), TTNeutralGenesSH::setFstatWCRecorders(), TTNeutralGenesSH::setFstMatrixRecorders(), TTWolbachiaSH::setInfectionStats(), TTNeutralGenesSH::setNeiGeneticDistanceRecorders(), Metapop::setPopulationFromSource(), Metapop::setPopulationFromSourceInPreserveMode(), Metapop::setSourceParameters(), TTNeutralGenesSH::setStatRecorders(), TTDeletMutBitstrSH::setStatRecorders(), TTDeletMutBitstrSH::setStatsForDeletMutations(), TTDeletMutBitstrSH::setViabStats(), Metapop::store_data(), LCE_Resize::updateParameters(), TTNeutralGenesFH::write_freq(), TTNeutralGenesFH::write_Fst_i(), TTNeutralGenesFH::write_FSTAT(), and TTNeutralGenesFH::write_varcompWC().

#define ALL   7

#define DELE   "delet"

Definition at line 66 of file types.h.

Referenced by TProtoDeletMutations_bitstring::get_type().

#define DISP   "disp"

Definition at line 67 of file types.h.

#define DQUANT   "qdisc"

Definition at line 71 of file types.h.

#define FDISP   "fdisp"

Definition at line 68 of file types.h.

Referenced by TTDispersalSH::init().

#define MDISP   "mdisp"

Definition at line 69 of file types.h.

Referenced by TTDispersalSH::init().

#define NONE   0

#define NTRL   "ntrl"

Definition at line 70 of file types.h.

#define OFFSPRG   1

Offspring age class flag.

Definition at line 50 of file types.h.

Referenced by LCE_Cross::addAgeClass(), LCE_Breed_Selection_Disperse::addAgeClass(), LCE_Breed_Selection::addAgeClass(), LCE_Breed_Disperse::addAgeClass(), LCE_Breed_Wolbachia::addAgeClass(), LCE_Breed::addAgeClass(), LCE_Selection_base::execute(), LCE_Resize::execute(), LCE_Cross::execute(), LCE_Regulation::execute(), LCE_Aging::execute(), LCE_Disperse_EvolDisp::execute(), LCE_Disperse_ConstDisp::execute(), LCE_Breed_Selection::execute(), LCE_Breed_Selection_Disperse::execute(), LCE_Breed_Disperse::execute(), LCE_Breed_Wolbachia::execute(), LCE_Breed::execute(), TTDeletMutBitstrFH::FHwrite(), Metapop::fillPatchFromSource(), LCE_Resize::fillPop(), TTWolbachiaSH::getMeanOffsprgInfection(), TTDeletMutBitstrSH::getOffsprgLetheq(), LCE_SelectionSH::getPatchFitness(), Metapop::loadSourcePopulation(), LCE_Aging::removeAgeClass(), LCE_Selection_base::requiredAgeClass(), LCE_Aging::requiredAgeClass(), LCE_Disperse_base::requiredAgeClass(), TTNeutralGenesSH::setFstatRecorders(), TTNeutralGenesSH::setFstatWCRecorders(), TTDeletMutBitstrSH::setOffsprgDeletStats(), TTNeutralGenesSH::setOffsprgFstat(), TTNeutralGenesSH::setOffsprgFstBetween(), TTNeutralGenesSH::setOffsprgFstMatrix(), TTNeutralGenesSH::setOffsprgFstWithin(), TTNeutralGenesSH::setOffsprgNeiGeneticDistance(), TTNeutralGenesSH::setOffspringFstatWeirCockerham(), Metapop::setPopulationFromSource(), Metapop::setPopulationFromSourceInPreserveMode(), Metapop::setSourceParameters(), TTNeutralGenesSH::setStatRecorders(), TTDeletMutBitstrSH::setStatRecorders(), TTDeletMutBitstrSH::setStatsForDeletMutations(), TTDeletMutBitstrSH::setViabStats(), Metapop::store_data(), LCE_Resize::updateParameters(), TTNeutralGenesFH::write_freq(), TTNeutralGenesFH::write_FSTAT(), and TTNeutralGenesFH::write_varcompWC().

#define POSTDISP   2

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

Definition at line 52 of file types.h.

#define QUANT   "quant"

Definition at line 72 of file types.h.

#define TRAIT_T_MAX   5

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

Definition at line 65 of file types.h.

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

#define WOLB   "wolb"

Definition at line 73 of file types.h.

Referenced by TProtoWolbachia::get_type(), and TTWolbachia::get_type().


Typedef Documentation

typedef unsigned int age_t

Age class flags.

Definition at line 46 of file types.h.

typedef std::string trait_t

Trait types.

Definition at line 63 of file types.h.


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 

Definition at line 41 of file types.h.

00041              {
00042   OFFSx=0, PDISPx=1, ADLTx=2, A2, A3, A4, A5, A6, A7, A8, A9, A10
00043 }age_idx;

enum param_t

Param's types.

Enumerator:
BOOL 
DBL 
INT 
STR 
MAT 
DIST 

Definition at line 76 of file types.h.

00076              {
00077   BOOL,DBL,INT,STR,MAT,DIST
00078 }param_t;

enum sex_t

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

Enumerator:
MAL 
FEM 

Definition at line 36 of file types.h.

00036              {
00037   MAL=0, FEM=1
00038 } sex_t;

enum st_order

Ordering type used to record statistics in the StatRecorders.

Enumerator:
GEN 
RPL 
PATCH 
FLAT 

Definition at line 58 of file types.h.

00058              {
00059   GEN=2,RPL=4,PATCH=8,FLAT=16
00060 }st_order;


Generated for Nemo v2.1.2 by  doxygen 1.5.8 -- Nemo is hosted by  SourceForge.net Logo