40 #ifndef BPP_SEQ_CONTAINER_PROBABILISTICSITECONTAINER_H
41 #define BPP_SEQ_CONTAINER_PROBABILISTICSITECONTAINER_H
44 #include "../ProbabilisticSite.h"
79 virtual const std::shared_ptr<ProbabilisticSite>
getSite(
size_t siteIndex)
const = 0;
80 virtual std::shared_ptr<ProbabilisticSite>
getSite(
size_t siteIndex) = 0;
99 virtual void addSite(std::shared_ptr<ProbabilisticSite> site,
bool checkPosition =
false) = 0;
The Container of Aligned Values interface.
The CruxSymbolListSite interface, from CoreSite and CruxSymbolList.
The ProbabilisticSiteContainer interface.
CruxSymbolListSite & getSymbolListSite(size_t siteIndex)
ProbabilisticSiteContainer()
virtual const std::shared_ptr< ProbabilisticSite > getSite(size_t siteIndex) const =0
Get a site from the container.
virtual ~ProbabilisticSiteContainer()
virtual std::shared_ptr< ProbabilisticSite > getSite(size_t siteIndex)=0
virtual void addSite(std::shared_ptr< ProbabilisticSite > site, bool checkPosition=false)=0
Add a site at the end of the container.
ProbabilisticSiteContainer * clone() const =0
const CruxSymbolListSite & getSymbolListSite(size_t siteIndex) const
Get a CruxSymbolListSite from a given position.
This alphabet is used to deal NumericAlphabet.