Antkeeper  0.0.1
Namespaces | Functions
protein.hpp File Reference
#include <engine/genetics/amino-acid.hpp>
#include <type_traits>

Go to the source code of this file.

Namespaces

 genetics
 Genetic algorithms.
 
 genetics::protein
 Functions which operate on sequences of IUPAC amino acid symbols.
 

Functions

template<class T , class ForwardIt1 , class ForwardIt2 >
genetics::protein::identity (ForwardIt1 first1, ForwardIt1 last1, ForwardIt2 first2)
 Returns the percent identity between two proteins. More...
 
template<class ForwardIt1 , class ForwardIt2 , class Matrix >
std::remove_all_extents< Matrix >::type genetics::protein::score (ForwardIt1 first1, ForwardIt1 last1, ForwardIt2 first2, const Matrix &matrix)
 Scores two proteins using a substitution matrix. More...
 
template<class T , class ForwardIt1 , class ForwardIt2 , class Matrix >
genetics::protein::similarity (ForwardIt1 first1, ForwardIt1 last1, ForwardIt2 first2, const Matrix &matrix)
 Returns the percent similarity between two proteins. More...