5 #ifndef BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_SETOFPHYLOLIKELIHOOD_H
6 #define BPP_PHYL_LIKELIHOOD_PHYLOLIKELIHOODS_SETOFPHYLOLIKELIHOOD_H
54 virtual std::shared_ptr<const PhyloLikelihoodInterface>
getPhyloLikelihood(
size_t nPhyl)
const = 0;
85 mutable std::vector<std::shared_ptr<LikelihoodCalculation>>
vLikCal_;
96 std::shared_ptr<PhyloLikelihoodContainer> pC,
97 bool inCollection =
true,
98 const std::string& prefix =
"");
102 std::shared_ptr<PhyloLikelihoodContainer> pC,
103 const std::vector<size_t>& nPhylo,
104 bool inCollection =
true,
105 const std::string& prefix =
"");
121 AbstractParametrizable::operator=(sd);
The PhyloLikelihoodSet class, to manage a subset of PhyloLikelihoods from a given PhyloLikelihoodCont...
std::shared_ptr< PhyloLikelihoodContainer > pPhyloCont_
pointer to a PhyloLikelihoodContainer
ParameterList getRootFrequenciesParameters() const override
Get the parameters associated to the root frequencies(s).
std::shared_ptr< PhyloLikelihoodInterface > getPhyloLikelihood(size_t nPhyl) override
virtual void fireParameterChanged(const ParameterList ¶ms) override
ParameterList getSubstitutionModelParameters() const override
Get the parameters associated to substitution model(s).
std::vector< size_t > nPhylo_
vector of AbstractPhyloLikelihood numbers
bool hasPhyloLikelihood(size_t nPhyl) override
ParameterList getRateDistributionParameters() const override
Get the parameters associated to the rate distribution(s).
ParameterList getDerivableParameters() const override
ParameterList getNonDerivableParameters() const override
ParameterList getBranchLengthParameters() const override
Get the branch lengths parameters.
std::shared_ptr< const PhyloLikelihoodInterface > getPhyloLikelihood(size_t nPhyl) const override
std::shared_ptr< PhyloLikelihoodContainer > getPhyloContainer() override
const std::vector< size_t > & getNumbersOfPhyloLikelihoods() const override
AbstractPhyloLikelihoodSet(Context &context, std::shared_ptr< PhyloLikelihoodContainer > pC, bool inCollection=true, const std::string &prefix="")
AbstractPhyloLikelihoodSet & operator=(const AbstractPhyloLikelihoodSet &sd)
bool isInitialized() const override
virtual ~AbstractPhyloLikelihoodSet()
std::vector< std::shared_ptr< LikelihoodCalculation > > vLikCal_
AbstractPhyloLikelihoodSet(const AbstractPhyloLikelihoodSet &sd)
virtual bool addPhyloLikelihood(size_t nPhyl, const std::string &suff="") override
adds a PhyloLikelihood already stored in the PhyloLikelihoodContainer, iff it is an AbstractPhyloLike...
std::shared_ptr< const PhyloLikelihoodContainer > getPhyloContainer() const override
const Context & context() const override
AbstractPhyloLikelihood & operator=(const AbstractPhyloLikelihood &apl)
Context for dataflow node construction.
The PhyloLikelihood interface, for phylogenetic likelihood.
The PhyloLikelihoodSet interface, to manage a subset of PhyloLikelihoods from a given PhyloLikelihood...
virtual const std::vector< size_t > & getNumbersOfPhyloLikelihoods() const =0
virtual std::shared_ptr< PhyloLikelihoodInterface > getPhyloLikelihood(size_t nPhyl)=0
virtual PhyloLikelihoodSetInterface * clone() const =0
virtual bool hasPhyloLikelihood(size_t nPhyl)=0
virtual std::shared_ptr< const PhyloLikelihoodContainer > getPhyloContainer() const =0
virtual bool addPhyloLikelihood(size_t nPhyl, const std::string &suff="")=0
adds a PhyloLikelihood already stored in the PhyloLikelihoodContainer, iff it is an AbstractPhyloLike...
virtual std::shared_ptr< PhyloLikelihoodContainer > getPhyloContainer()=0
virtual std::shared_ptr< const PhyloLikelihoodInterface > getPhyloLikelihood(size_t nPhyl) const =0
Defines the basic types of data flow nodes.