5#ifndef BPP_PHYL_SIMULATION_SIMPLESUBSTITUTIONPROCESSSEQUENCESIMULATOR_H
6#define BPP_PHYL_SIMULATION_SIMPLESUBSTITUTIONPROCESSSEQUENCESIMULATOR_H
9#include "../Likelihood/SequenceEvolution.h"
24 std::shared_ptr<SiteSimulatorInterface>
siteSim_;
35 std::shared_ptr<LikelihoodCalculationSingleProcess> calcul,
37 bool shrunked =
false,
38 std::vector<uint> vPrior = std::vector<uint>()) :
64 std::unique_ptr<SiteContainerInterface>
simulate(
size_t numberOfSites)
const override;
Site simulation under a unique substitution process, given data.
The SequenceSimulator interface. SequenceSimulator classes can simulate whole datasets.
Sequences simulation under a unique substitution process.
std::vector< std::string > getSequenceNames() const override
const SiteSimulatorInterface & siteSimulator(size_t pos) const override
std::shared_ptr< const Alphabet > getAlphabet() const override
void outputInternalSequences(bool yn) override
Sets whether we will output the internal sequences or not.
std::shared_ptr< SiteSimulatorInterface > siteSim_
std::unique_ptr< SiteContainerInterface > simulate(size_t numberOfSites) const override
SimpleSubstitutionProcessSequenceSimulator(std::shared_ptr< LikelihoodCalculationSingleProcess > calcul, size_t pos, bool shrunked=false, std::vector< uint > vPrior=std::vector< uint >())
A posterior simulation, from a position in an alignment.
SimpleSubstitutionProcessSequenceSimulator(std::shared_ptr< const SubstitutionProcessInterface > process)
virtual ~SimpleSubstitutionProcessSequenceSimulator()
SimpleSubstitutionProcessSequenceSimulator * clone() const override
const Alphabet & alphabet() const override
SimpleSubstitutionProcessSequenceSimulator(std::shared_ptr< SiteSimulatorInterface > simul)
SimpleSubstitutionProcessSequenceSimulator(const SimpleSubstitutionProcessSequenceSimulator &nhss)
Site simulation under a unique substitution process.
The SiteSimulator interface. SiteSimulator classes can simulate single sites.
Defines the basic types of data flow nodes.