5 #ifndef BPP_PHYL_SITEPATTERNS_H
6 #define BPP_PHYL_SITEPATTERNS_H
68 std::vector<std::shared_ptr<const CoreSiteInterface>>
sites_;
71 std::shared_ptr<const Alphabet>
alpha_;
86 std::vector<std::string> names = {});
93 std::vector<std::string> names = {});
108 std::unique_ptr<AlignmentDataInterface>
getSites()
const;
Class used for site pattern sorting.
bool operator<(const SortableSite &ss) const
SortableSite(const SortableSite &ss)
SortableSite & operator=(const SortableSite &ss)
const CoreSiteInterface * siteP
Data structure for site patterns.
const std::vector< unsigned int > & getWeights() const
const IndicesType & getIndices() const
void init_(const AlignmentDataInterface &sequences, std::vector< std::string > names={})
Eigen::Matrix< size_t, 1, -1 > IndicesType
std::vector< std::shared_ptr< const CoreSiteInterface > > sites_
std::vector< unsigned int > weights_
std::vector< std::string > names_
SitePatterns * clone() const
std::shared_ptr< const Alphabet > alpha_
SitePatterns(const AlignmentDataInterface &sequences, std::vector< std::string > names={})
Build a new SitePattern object.
std::unique_ptr< AlignmentDataInterface > getSites() const
Defines the basic types of data flow nodes.