Parallel PopGen Package
Sim_Model::bool_on Struct Reference

functor: turns sampling and preserving on (for every generation except the final one which is always sampled) More...

Public Member Functions

__host__ __forceinline__ bool operator() (const int generation) const
 Preserving and Sampling operator, returns boolean b to turn on/off preserving and sampling in generation generation of the simulation. More...
 

Detailed Description

functor: turns sampling and preserving on (for every generation except the final one which is always sampled)

Examples:
Example3-Compilation.

Definition at line 277 of file go_fish.cuh.

Member Function Documentation

§ operator()()

__host__ __forceinline__ bool Sim_Model::bool_on::operator() ( const int  generation) const

Preserving and Sampling operator, returns boolean b to turn on/off preserving and sampling in generation generation of the simulation.

b = true

Definition at line 555 of file template_inline_simulation_functors.cuh.


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