Parallel PopGen Package
GO_Fish::mutID Struct Reference

structure specifying the ID for a mutation in a GO_Fish simulation More...

#include <go_fish_data_struct.h>

Public Member Functions

 mutID ()
 default constructor More...
 
 mutID (int origin_generation, int origin_population, int origin_threadID, int reserved)
 constructor More...
 
std::string toString ()
 returns a string constant of mutID More...
 
std::string toString () const
 returns a string constant of mutID More...
 

Public Attributes

int origin_generation
 generation in which mutation appeared in simulation More...
 
int origin_population
 population in which mutation first arose More...
 
int origin_threadID
 threadID that generated mutation More...
 
int reserved
 reserved for later use, currently 0 More...
 

Detailed Description

structure specifying the ID for a mutation in a GO_Fish simulation

Definition at line 35 of file go_fish_data_struct.h.

Constructor & Destructor Documentation

§ mutID() [1/2]

GO_Fish::mutID::mutID ( )
inline

default constructor

Definition at line 14 of file inline_go_fish_data_struct.hpp.

§ mutID() [2/2]

GO_Fish::mutID::mutID ( int  origin_generation,
int  origin_population,
int  origin_threadID,
int  reserved 
)
inline

constructor

Definition at line 16 of file inline_go_fish_data_struct.hpp.

Member Function Documentation

§ toString() [1/2]

std::string GO_Fish::mutID::toString ( )
inline

returns a string constant of mutID

string format: (origin_generation,origin_population,origin_thread,reserved)

Definition at line 29 of file inline_go_fish_data_struct.hpp.

§ toString() [2/2]

std::string GO_Fish::mutID::toString ( ) const
inline

returns a string constant of mutID

string format: (origin_generation,origin_population,origin_thread,reserved)

Definition at line 31 of file inline_go_fish_data_struct.hpp.

Member Data Documentation

§ origin_generation

int GO_Fish::mutID::origin_generation

generation in which mutation appeared in simulation

Definition at line 36 of file go_fish_data_struct.h.

§ origin_population

int GO_Fish::mutID::origin_population

population in which mutation first arose

Definition at line 37 of file go_fish_data_struct.h.

§ origin_threadID

int GO_Fish::mutID::origin_threadID

threadID that generated mutation

Definition at line 38 of file go_fish_data_struct.h.

§ reserved

int GO_Fish::mutID::reserved

reserved for later use, currently 0

Definition at line 39 of file go_fish_data_struct.h.


The documentation for this struct was generated from the following files: