bpp-phyl3
3.0.0
|
Sequences simulation under a unique substitution process, but with site specific posterior probabilities. More...
#include <Bpp/Phyl/Simulation/GivenDataSubstitutionProcessSequenceSimulator.h>
Public Member Functions | |
GivenDataSubstitutionProcessSequenceSimulator (std::shared_ptr< LikelihoodCalculationSingleProcess > calcul) | |
virtual | ~GivenDataSubstitutionProcessSequenceSimulator () |
GivenDataSubstitutionProcessSequenceSimulator (const GivenDataSubstitutionProcessSequenceSimulator &nhss) | |
GivenDataSubstitutionProcessSequenceSimulator * | clone () const override |
void | outputInternalSequences (bool yn) override |
Sets whether we will output the internal sequences or not. More... | |
The SequenceSimulator interface | |
Here the numberOfSites is unused (awkward inheritance...) | |
std::unique_ptr< SiteContainerInterface > | simulate () const |
std::unique_ptr< SiteContainerInterface > | simulate (size_t numberOfSites) const override |
const SiteSimulatorInterface & | siteSimulator (size_t pos) const override |
SiteSimulator and SequenceSimulator interface | |
std::shared_ptr< const Alphabet > | getAlphabet () const override |
const Alphabet & | alphabet () const override |
std::vector< std::string > | getSequenceNames () const override |
size_t | getNumberOfSites () const |
the number of mapped sites. More... | |
Private Attributes | |
std::shared_ptr< LikelihoodCalculationSingleProcess > | calcul_ |
std::vector< std::shared_ptr< GivenDataSubstitutionProcessSiteSimulator > > | vSiteSim_ |
Sequences simulation under a unique substitution process, but with site specific posterior probabilities.
Definition at line 18 of file GivenDataSubstitutionProcessSequenceSimulator.h.
|
inline |
Definition at line 34 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References calcul_, and vSiteSim_.
Referenced by clone().
|
inlinevirtual |
Definition at line 43 of file GivenDataSubstitutionProcessSequenceSimulator.h.
|
inline |
Definition at line 46 of file GivenDataSubstitutionProcessSequenceSimulator.h.
|
inlineoverridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 83 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References vSiteSim_.
|
inlineoverridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 50 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References GivenDataSubstitutionProcessSequenceSimulator().
|
inlineoverridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 78 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References vSiteSim_.
|
inline |
the number of mapped sites.
Definition at line 96 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References calcul_.
|
inlineoverridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 88 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References vSiteSim_.
|
inlineoverridevirtual |
Sets whether we will output the internal sequences or not.
yn | Tell if we should output internal sequences. |
Implements bpp::SequenceSimulatorInterface.
Definition at line 109 of file GivenDataSubstitutionProcessSequenceSimulator.h.
References vSiteSim_.
|
inline |
Definition at line 61 of file GivenDataSubstitutionProcessSequenceSimulator.h.
|
overridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 15 of file GivenDataSubstitutionProcessSequenceSimulator.cpp.
|
inlineoverridevirtual |
Implements bpp::SequenceSimulatorInterface.
Definition at line 68 of file GivenDataSubstitutionProcessSequenceSimulator.h.
|
private |
Definition at line 22 of file GivenDataSubstitutionProcessSequenceSimulator.h.
Referenced by getNumberOfSites(), GivenDataSubstitutionProcessSequenceSimulator(), and siteSimulator().
|
private |
Definition at line 31 of file GivenDataSubstitutionProcessSequenceSimulator.h.
Referenced by alphabet(), getAlphabet(), getSequenceNames(), GivenDataSubstitutionProcessSequenceSimulator(), outputInternalSequences(), and siteSimulator().