File seq_processing.hpp¶
FileList > epiworld > seq_processing.hpp
Go to the source code of this file
Public Functions¶
| Type | Name |
|---|---|
| std::vector< int > | default_seq_hasher (const TSeq & x) Hasher function to turn the sequence into an integer vector. |
| std::vector< int > | default_seq_hasher< bool > (const bool & x) |
| std::vector< int > | default_seq_hasher< int > (const int & x) |
| std::vector< int > | default_seq_hasher< std::vector< bool > > (const std::vector< bool > & x) |
| std::vector< int > | default_seq_hasher< std::vector< int > > (const std::vector< int > & x) |
| std::string | default_seq_writer (const TSeq & seq) Default way to write sequences. |
| std::string | default_seq_writer< bool > (const bool & seq) |
| std::string | default_seq_writer< int > (const int & seq) |
| std::string | default_seq_writer< std::vector< bool > > (const std::vector< bool > & seq) |
| std::string | default_seq_writer< std::vector< int > > (const std::vector< int > & seq) |
Public Functions Documentation¶
function default_seq_hasher¶
Hasher function to turn the sequence into an integer vector.
Template parameters:
TSeq
Parameters:
x
Returns:
std::vector<int>
function default_seq_hasher< bool >¶
function default_seq_hasher< int >¶
function default_seq_hasher< std::vector< bool > >¶
template<>
inline std::vector< int > default_seq_hasher< std::vector< bool > > (
const std::vector< bool > & x
)
function default_seq_hasher< std::vector< int > >¶
template<>
inline std::vector< int > default_seq_hasher< std::vector< int > > (
const std::vector< int > & x
)
function default_seq_writer¶
Default way to write sequences.
Template parameters:
TSeq
Parameters:
seq
Returns:
std::string
function default_seq_writer< bool >¶
function default_seq_writer< int >¶
function default_seq_writer< std::vector< bool > >¶
template<>
inline std::string default_seq_writer< std::vector< bool > > (
const std::vector< bool > & seq
)
function default_seq_writer< std::vector< int > >¶
template<>
inline std::string default_seq_writer< std::vector< int > > (
const std::vector< int > & seq
)
The documentation for this class was generated from the following file epiworld-src/include/epiworld/seq_processing.hpp