btllib: include/btllib/random_seq_generator.hpp Source File

btllib

Loading...
Searching...
No Matches
random_seq_generator.hpp
1#ifndef BTLLIB_RANDOM_SEQ_HPP
2#define BTLLIB_RANDOM_SEQ_HPP
3
4#include <cstddef>
5#include <string>
6
7namespace btllib {
8
9 class RandomSequenceGenerator
10{
11public:
12 enum SequenceType
13 {
14 DNA,
15 RNA,
16 PROTEIN
17 };
18
19 enum Masking
20 {
21 NONE,
22 SOFT,
23 HARD
24 };
25
33 RandomSequenceGenerator(SequenceType type, Masking masking = NONE);
34
40 std::string generate(size_t length);
41
42private:
43 const std::string CLASS_NAME = "RandomSequenceGenerator";
44 std::string chars;
45};
46
47} // namespace btllib
48
49#endif
btllib::RandomSequenceGenerator
Definition: random_seq_generator.hpp:10
btllib::RandomSequenceGenerator::generate
std::string generate(size_t length)
btllib::RandomSequenceGenerator::RandomSequenceGenerator
RandomSequenceGenerator(SequenceType type, Masking masking=NONE)
btllib
Definition: bloom_filter.hpp:16