5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_SINGLEDATAPHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_SINGLEDATAPHYLOLIKELIHOOD_H
50 virtual void setData(std::shared_ptr<const AlignmentDataInterface> sites,
size_t nData = 0) = 0;
57 virtual std::shared_ptr<const AlignmentDataInterface>
getData()
const = 0;
74 virtual std::shared_ptr<const Alphabet>
getAlphabet()
const = 0;
119 virtual void setData(std::shared_ptr<const AlignmentDataInterface> sites,
size_t nData = 0)
AbstractAlignedPhyloLikelihood & operator=(const AbstractAlignedPhyloLikelihood &aasd)
void setNumberOfSites(size_t nbSites)
const Context & context() const override
AbstractSingleDataPhyloLikelihood & operator=(const AbstractSingleDataPhyloLikelihood &asdpl)
virtual void setData(std::shared_ptr< const AlignmentDataInterface > sites, size_t nData=0)
Set the dataset for which the likelihood must be evaluated.
AbstractSingleDataPhyloLikelihood(const AbstractSingleDataPhyloLikelihood &asdpl)
size_t getNumberOfStates() const
Get the number the states.
virtual ~AbstractSingleDataPhyloLikelihood()
void setNData(size_t nData)
size_t getNData() const
Get the number of dataset concerned.
size_t nData_
Number of the concerned data.
AbstractSingleDataPhyloLikelihood(Context &context, size_t nbSites, size_t nbStates, size_t nData=0)
The AlignedPhyloLikelihood interface, for phylogenetic likelihood.
Context for dataflow node construction.
The SingleDataPhyloLikelihood interface, for phylogenetic likelihood.
virtual std::shared_ptr< const AlignmentDataInterface > getData() const =0
Get the dataset for which the likelihood must be evaluated.
virtual size_t getNData() const =0
Get the number of dataset concerned.
SingleDataPhyloLikelihoodInterface()
virtual ~SingleDataPhyloLikelihoodInterface()
virtual size_t getNumberOfStates() const =0
Get the number the states.
virtual SingleDataPhyloLikelihoodInterface * clone() const =0
virtual void setData(std::shared_ptr< const AlignmentDataInterface > sites, size_t nData=0)=0
Set the dataset for which the likelihood must be evaluated.
virtual std::shared_ptr< const Alphabet > getAlphabet() const =0
Get the alphabet associated to the dataset.
Defines the basic types of data flow nodes.