Antkeeper  0.0.1
Namespaces | Functions
base.cpp File Reference
#include <engine/genetics/base.hpp>

Go to the source code of this file.

Namespaces

 genetics
 Genetic algorithms.
 
 genetics::base
 Functions which operate on IUPAC degenerate base symbols.
 
 genetics::base::dna
 Functions which operate on IUPAC degenerate DNA base symbols.
 
 genetics::base::rna
 Functions which operate on IUPAC degenerate RNA base symbols.
 

Functions

int genetics::base::compare (char a, char b)
 Returns the number of bases that are represented by both IUPAC degenerate base symbols. More...
 
char genetics::base::transcribe (char symbol)
 Transcribes an IUPAC degenerate base symbol between DNA and RNA, swapping T for U or U for T. More...
 
char genetics::base::dna::complement (char symbol)
 Returns the DNA complement of an IUPAC degenerate base symbol. More...
 
char genetics::base::rna::complement (char symbol)
 Returns the RNA complement of an IUPAC degenerate base symbol. More...