bpp-phyl3
3.0.0
|
Data structure to store the result of a DetailedSiteSimulator. More...
#include <Bpp/Phyl/Simulation/DetailedSiteSimulator.h>
Public Member Functions | |
RASiteSimulationResult (std::shared_ptr< const ParametrizablePhyloTree > tree, std::shared_ptr< const StateMapInterface > stateMap, size_t ancestralStateIndex, double rate) | |
virtual | ~RASiteSimulationResult () |
virtual double | getRate () const |
std::shared_ptr< const Alphabet > | getAlphabet () const |
const Alphabet & | alphabet () const |
virtual void | addNode (unsigned int nodeId, MutationPath path) |
virtual size_t | getAncestralState (size_t i) const |
virtual size_t | getAncestralState (unsigned int nodeId) const |
virtual const MutationPath & | getMutationPath (size_t i) const |
virtual const MutationPath & | getMutationPath (unsigned int nodeId) const |
virtual size_t | getSubstitutionCount (size_t i) const |
virtual void | getSubstitutionCount (size_t i, const SubstitutionRegisterInterface ®, std::vector< double > &counts) const |
virtual size_t | getSubstitutionCount (unsigned int nodeId) const |
virtual void | getSubstitutionCount (unsigned int nodeId, const SubstitutionRegisterInterface ®, std::vector< double > &counts) const |
virtual VVdouble | getSubstitutionVector (const SubstitutionRegisterInterface ®) const |
virtual std::vector< size_t > | getFinalStates () const |
virtual std::unique_ptr< SiteInterface > | getSite (const TransitionModelInterface &model) const |
virtual std::vector< std::string > | getLeaveNames () const |
Protected Attributes | |
double | rate_ |
Private Attributes | |
std::map< uint, size_t > | indexes_ |
size_t | currentIndex_ |
std::vector< MutationPath > | paths_ |
std::vector< size_t > | ancestralStates_ |
std::shared_ptr< const ParametrizablePhyloTree > | tree_ |
std::vector< unsigned int > | leavesId_ |
std::shared_ptr< const StateMapInterface > | statemap_ |
Data structure to store the result of a DetailedSiteSimulator.
This structure inherits from the SequenceSimulationResult class, and add support for rate variation across sites.
Definition at line 185 of file DetailedSiteSimulator.h.
|
inline |
Definition at line 192 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 200 of file DetailedSiteSimulator.h.
|
inlinevirtualinherited |
Definition at line 85 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::ancestralStates_, bpp::SiteSimulationResult::currentIndex_, bpp::MutationPath::getFinalState(), bpp::SiteSimulationResult::indexes_, and bpp::SiteSimulationResult::paths_.
Referenced by bpp::NonHomogeneousSequenceSimulator::dEvolveInternal(), and bpp::SimpleSubstitutionProcessSiteSimulator::evolveInternal().
|
inlineinherited |
Definition at line 83 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::statemap_.
Referenced by bpp::SiteSimulationResult::getSite().
|
inlineinherited |
Definition at line 81 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::statemap_.
|
inlinevirtualinherited |
Definition at line 93 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::ancestralStates_.
|
inlinevirtualinherited |
Definition at line 95 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::ancestralStates_, and bpp::SiteSimulationResult::indexes_.
|
inlinevirtualinherited |
Definition at line 136 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::ancestralStates_, bpp::SiteSimulationResult::indexes_, and bpp::SiteSimulationResult::leavesId_.
Referenced by bpp::SiteSimulationResult::getSite().
|
inlinevirtualinherited |
Definition at line 165 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::leavesId_, and bpp::SiteSimulationResult::tree_.
|
inlinevirtualinherited |
Definition at line 97 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::paths_.
|
inlinevirtualinherited |
Definition at line 99 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::indexes_, and bpp::SiteSimulationResult::paths_.
|
inlinevirtual |
Definition at line 206 of file DetailedSiteSimulator.h.
References rate_.
|
inlinevirtualinherited |
Definition at line 150 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::alphabet(), bpp::SiteSimulationResult::getFinalStates(), and bpp::SiteSimulationResult::statemap_.
|
inlinevirtualinherited |
Definition at line 101 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::paths_.
|
inlinevirtualinherited |
Definition at line 103 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::paths_.
|
inlinevirtualinherited |
Definition at line 111 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::indexes_, and bpp::SiteSimulationResult::paths_.
|
inlinevirtualinherited |
Definition at line 113 of file DetailedSiteSimulator.h.
References bpp::SiteSimulationResult::indexes_, and bpp::SiteSimulationResult::paths_.
|
inlinevirtualinherited |
Definition at line 121 of file DetailedSiteSimulator.h.
References bpp::SubstitutionRegisterInterface::getNumberOfSubstitutionTypes(), and bpp::SiteSimulationResult::paths_.
|
privateinherited |
|
privateinherited |
Definition at line 28 of file DetailedSiteSimulator.h.
Referenced by bpp::SiteSimulationResult::addNode(), and bpp::SiteSimulationResult::operator=().
|
mutableprivateinherited |
Definition at line 27 of file DetailedSiteSimulator.h.
Referenced by bpp::SiteSimulationResult::addNode(), bpp::SiteSimulationResult::getAncestralState(), bpp::SiteSimulationResult::getFinalStates(), bpp::SiteSimulationResult::getMutationPath(), bpp::SiteSimulationResult::getSubstitutionCount(), bpp::SiteSimulationResult::operator=(), and bpp::SiteSimulationResult::SiteSimulationResult().
|
privateinherited |
Definition at line 32 of file DetailedSiteSimulator.h.
Referenced by bpp::SiteSimulationResult::getFinalStates(), bpp::SiteSimulationResult::getLeaveNames(), and bpp::SiteSimulationResult::operator=().
|
privateinherited |
|
protected |
Definition at line 189 of file DetailedSiteSimulator.h.
Referenced by getRate().
|
privateinherited |
Definition at line 33 of file DetailedSiteSimulator.h.
Referenced by bpp::SiteSimulationResult::alphabet(), bpp::SiteSimulationResult::getAlphabet(), bpp::SiteSimulationResult::getSite(), and bpp::SiteSimulationResult::operator=().
|
privateinherited |
Definition at line 31 of file DetailedSiteSimulator.h.
Referenced by bpp::SiteSimulationResult::getLeaveNames(), and bpp::SiteSimulationResult::operator=().