This class generate random seeds.
More...
#include <generator.h>
|
std::string | randomDNA (unsigned int DNAlength) |
|
std::string | mutateDNA (std::string DNA, double mutationProbability) |
|
This class generate random seeds.
string Generator::mutateDNA |
( |
std::string |
DNA, |
|
|
double |
mutationProbability |
|
) |
| |
- Parameters
-
DNA | string that will be mutated |
mutationProbability | is the probability to mutate a character in the DNA string |
- Returns
- a mutated DNA
string Generator::randomDNA |
( |
unsigned int |
DNAlength | ) |
|
- Parameters
-
DNAlength | is the lenght of the DNA String that will returned |
- Returns
- a random DNA String with length DNAlength
The documentation for this class was generated from the following files:
- src/SequenceSimulation/generator.h
- src/SequenceSimulation/generator.cc