5 #ifndef BPP_PHYL_SIMULATION_GIVENDATASUBSTITUTIONPROCESSSITESIMULATOR_H
6 #define BPP_PHYL_SIMULATION_GIVENDATASUBSTITUTIONPROCESSSITESIMULATOR_H
41 std::shared_ptr<LikelihoodCalculationSingleProcess>
calcul_;
60 pos_(shrunked ?
Eigen::Index(pos) :
Eigen::Index(calcul->getRootArrayPosition(pos)))
Site simulation under a unique substitution process, given data.
std::shared_ptr< LikelihoodCalculationSingleProcess > calcul_
GivenDataSubstitutionProcessSiteSimulator(std::shared_ptr< LikelihoodCalculationSingleProcess > calcul, size_t pos, bool shrunked=false)
Build a Site Simulator of histories from the a posteriori likelihoods at a given site.
GivenDataSubstitutionProcessSiteSimulator & operator=(const GivenDataSubstitutionProcessSiteSimulator &nhss)
GivenDataSubstitutionProcessSiteSimulator * clone() const override
GivenDataSubstitutionProcessSiteSimulator(const GivenDataSubstitutionProcessSiteSimulator &nhss)
void init() override
Init all probabilities.
Eigen::Index pos_
Position of the copied site, in SHRUNKED data.
Site simulation under a unique substitution process.
SimpleSubstitutionProcessSiteSimulator & operator=(const SimpleSubstitutionProcessSiteSimulator &nhss)
std::shared_ptr< const SubstitutionProcessInterface > getSubstitutionProcess() const
Get the substitution process associated to this instance.
Defines the basic types of data flow nodes.