41 #ifndef _SITEPATTERNS_H_ 42 #define _SITEPATTERNS_H_ 46 #include <Bpp/Clonable.h> 47 #include <Bpp/Numeric/VectorTools.h> 50 #include <Bpp/Seq/Site.h> 51 #include <Bpp/Seq/Container/SiteContainer.h> 70 public virtual Clonable
127 SitePatterns(
const SiteContainer* sequences,
bool own =
false);
160 #ifdef NO_VIRTUAL_COV 186 #endif // _SITEPATTERNS_H_
const std::vector< size_t > & getIndices() const
SitePatterns(const SiteContainer *sequences, bool own=false)
Build a new SitePattern object.
std::vector< const Site * > sites_
std::vector< size_t > indices_
SitePatterns(const SitePatterns &patterns)
const std::vector< unsigned int > & getWeights() const
const SiteContainer * sequences_
std::vector< std::string > names_
Class used for site pattern sorting.
std::vector< unsigned int > weights_
Class used for site pattern sorting.
SortableSite(const SortableSite &ss)
SitePatterns * clone() const
SortableSite & operator=(const SortableSite &ss)
SiteContainer * getSites() const
bool operator<(const SortableSite &ss) const
Data structure for site patterns.
SitePatterns & operator=(const SitePatterns &patterns)