40 #ifndef _ALPHABETTOOLS_H_ 41 #define _ALPHABETTOOLS_H_ 50 #include <Bpp/Numeric/VectorTools.h> 207 std::vector<int> a = alphabet->
getAlias(i);
208 std::vector<int> b = alphabet->
getAlias(j);
209 std::vector<int> u = VectorTools::vectorIntersection(a, b);
219 const Y* t =
dynamic_cast<const Y*
>(alphabet);
222 catch (std::exception& e)
230 #endif // _ALPHABETTOOLS_H_
This alphabet is used to deal NumericAlphabet.
virtual std::vector< int > getAlias(int state) const =0
Get all resolved states that match a generic state.
This alphabet is used to deal with proteins.
The DefaultAlphabet class.
The alphabet exception base class.
This alphabet is used to deal with DNA sequences.
This alphabet is used to deal with RNA sequences.