Sample SNPs
Fast ordered sampling of rows from large text or binary files. Special cases for DNA variant files (.bed, VCF, HapMap, etc).
|
Abstract base random number class. More...
#include <random.hpp>
Public Member Functions | |
virtual | ~Generate () |
Protected destructor. | |
virtual volatile uint64_t | ranInt ()=0 |
Generate a (pseudo-)random 64-bit unsigned integer. More... | |
Protected Member Functions | |
Generate () | |
Protected default constructor. | |
Generate (const Generate &old) | |
Protected copy constructor. More... | |
Generate (Generate &&old) | |
Protected move constructor. More... | |
Generate & | operator= (const Generate &old)=default |
Protected copy assignment operator. More... | |
Generate & | operator= (Generate &&old)=default |
Protected move assignment. More... | |
Abstract base random number class.
Provides the interface for random or pseudorandom (depending on derived class) generation. For internal use by the RanDraw
interface class.
|
inlineprotected |
Protected copy constructor.
[in] | old | object to copy |
|
inlineprotected |
Protected move constructor.
[in] | old | object to move |
Protected copy assignment operator.
[in] | old | object to copy |
Protected move assignment.
[in] | old | object to move |
|
pure virtual |
Generate a (pseudo-)random 64-bit unsigned integer.
Implemented in sampFiles::GenerateMT, and sampFiles::GenerateHR.