Maximum Acyclic Subgraph - Multiple Sequence Alignment
MaximumAcyclicSubgraph
Public Member Functions | List of all members
Generator Class Reference

This class generate random seeds. More...

#include <generator.h>

Public Member Functions

std::string randomDNA (unsigned int DNAlength)
 
std::string mutateDNA (std::string DNA, double mutationProbability)
 

Detailed Description

This class generate random seeds.

Member Function Documentation

string Generator::mutateDNA ( std::string  DNA,
double  mutationProbability 
)
Parameters
DNAstring that will be mutated
mutationProbabilityis the probability to mutate a character in the DNA string
Returns
a mutated DNA
string Generator::randomDNA ( unsigned int  DNAlength)
Parameters
DNAlengthis 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: