5 #ifndef BPP_PHYL_LIKELIHOOD_ONEPROCESSSEQUENCEEVOLUTION_H
6 #define BPP_PHYL_LIKELIHOOD_ONEPROCESSSEQUENCEEVOLUTION_H
31 std::shared_ptr<SubstitutionProcessInterface>
subsProc_;
105 std::shared_ptr<const ParametrizablePhyloTree>
tree()
const
107 return subsProc_->getParametrizablePhyloTree();
123 return subsProc_->getBranchLengthParameters(independent);
128 return subsProc_->getRootFrequenciesParameters(independent);
133 return subsProc_->getRateDistributionParameters(independent);
138 return subsProc_->getSubstitutionModelParameters(independent);
144 return subsProc_->getIndependentParameters();
156 return subsProc_->getIndependentParameters();
165 return subsProc_->getNonDerivableParameters();
Evolution of a sequence performed by a unique SubstitutionProcess all along the sequence.
ParameterList getRateDistributionParameters(bool independent) const override
Get the parameters associated to the rate distribution(s).
const size_t getSubstitutionProcessNumber() const
std::shared_ptr< const SubstitutionProcessInterface > getSubstitutionProcess() const
std::shared_ptr< const SubstitutionProcessInterface > getSubstitutionProcess(size_t number) const override
const SubstitutionProcessInterface & substitutionProcess() const
OneProcessSequenceEvolution * clone() const override
const SubstitutionProcessInterface & substitutionProcess(size_t number) const override
OneProcessSequenceEvolution(std::shared_ptr< SubstitutionProcessInterface > process, size_t nProc=0)
std::shared_ptr< SubstitutionProcessInterface > getSubstitutionProcess()
bool isCompatibleWith(const AlignmentDataInterface &data) const override
ParameterList getRootFrequenciesParameters(bool independent) const override
Get the parameters associated to the root frequencies(s).
std::shared_ptr< SubstitutionProcessInterface > subsProc_
ParameterList getSubstitutionProcessParameters(bool independent) const override
Get the parameters associated to substitution processes(s).
ParameterList getSubstitutionModelParameters(bool independent) const override
Get the parameters associated to substitution model(s).
SubstitutionProcessInterface & substitutionProcess()
ParameterList getBranchLengthParameters(bool independent) const override
Get several categories of parameters.
const ParameterList & getIndependentParameters() const override
std::shared_ptr< const ParametrizablePhyloTree > tree() const
Get the tree (topology and branch lengths).
const ParameterList & getParameters() const override
ParameterList getNonDerivableParameters() const override
get (Non)Derivable INDEPENDENT parameters
void fireParameterChanged(const ParameterList &pl) override
const std::vector< size_t > & getSubstitutionProcessNumbers() const override
size_t nProc_
the substitution process number.
OneProcessSequenceEvolution & operator=(const OneProcessSequenceEvolution &evol)
std::vector< size_t > vProc_
not nice, for inheritance compatibility.
This interface describes the evolution process of a sequence.
This interface describes the substitution process along the tree and sites of the alignment.
Defines the basic types of data flow nodes.