libsequence
1.9.5
|
Routines to find the shortest distance between any 2 codons, using Grantham's distance. Declares the class Sequence::shortestPath, and the functions Sequence::mutsShortestPath and Sequence::diffType. More...
#include <vector>
#include <utility>
#include <memory>
#include <tuple>
#include <cstdint>
#include <Sequence/SeqEnums.hpp>
Go to the source code of this file.
Classes | |
class | Sequence::shortestPath |
Calculate shortest path between 2 codons. More... | |
Namespaces | |
Sequence | |
The namespace in which this library resides. | |
Functions | |
std::pair< unsigned, unsigned > | Sequence::mutsShortestPath (const std::string &codon1, const std::string &codon2, const Sequence::GeneticCodes &code=GeneticCodes::UNIVERSAL) |
std::pair< unsigned, shortestPath::pathType > | Sequence::diffType (const std::string &codon1, const std::string &codon2, const Sequence::GeneticCodes &code=GeneticCodes::UNIVERSAL) |
std::tuple< shortestPath::pathType, shortestPath::pathType, shortestPath::pathType > | Sequence::diffTypeMulti (const std::string &codon1, const std::string &codon2, const Sequence::GeneticCodes &code=GeneticCodes::UNIVERSAL) |
Routines to find the shortest distance between any 2 codons, using Grantham's distance. Declares the class Sequence::shortestPath, and the functions Sequence::mutsShortestPath and Sequence::diffType.
Definition in file shortestPath.hpp.