bpp-phyl3
3.0.0
|
Data structure to store the result of a DetailedSiteSimulator. More...
#include <Bpp/Phyl/Simulation/DetailedSiteSimulator.h>
Public Member Functions | |
SiteSimulationResult (std::shared_ptr< const ParametrizablePhyloTree > tree, std::shared_ptr< const StateMapInterface > statemap, size_t ancestralState) | |
SiteSimulationResult (const SiteSimulationResult &ssr) | |
SiteSimulationResult & | operator= (const SiteSimulationResult &ssr) |
virtual | ~SiteSimulationResult () |
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 |
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 data structure stores each transitional state, and the time when it occurred.
Definition at line 24 of file DetailedSiteSimulator.h.
|
inline |
Definition at line 36 of file DetailedSiteSimulator.h.
References ancestralStates_, and indexes_.
|
inline |
Definition at line 53 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 75 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 85 of file DetailedSiteSimulator.h.
References ancestralStates_, currentIndex_, bpp::MutationPath::getFinalState(), indexes_, and paths_.
Referenced by bpp::NonHomogeneousSequenceSimulator::dEvolveInternal(), and bpp::SimpleSubstitutionProcessSiteSimulator::evolveInternal().
|
inline |
Definition at line 83 of file DetailedSiteSimulator.h.
References statemap_.
Referenced by getSite().
|
inline |
Definition at line 81 of file DetailedSiteSimulator.h.
References statemap_.
|
inlinevirtual |
Definition at line 93 of file DetailedSiteSimulator.h.
References ancestralStates_.
|
inlinevirtual |
Definition at line 95 of file DetailedSiteSimulator.h.
References ancestralStates_, and indexes_.
|
inlinevirtual |
Definition at line 136 of file DetailedSiteSimulator.h.
References ancestralStates_, indexes_, and leavesId_.
Referenced by getSite().
|
inlinevirtual |
Definition at line 165 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 97 of file DetailedSiteSimulator.h.
References paths_.
|
inlinevirtual |
Definition at line 99 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 150 of file DetailedSiteSimulator.h.
References alphabet(), getFinalStates(), and statemap_.
|
inlinevirtual |
Definition at line 101 of file DetailedSiteSimulator.h.
References paths_.
|
inlinevirtual |
Definition at line 103 of file DetailedSiteSimulator.h.
References paths_.
|
inlinevirtual |
Definition at line 111 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 113 of file DetailedSiteSimulator.h.
|
inlinevirtual |
Definition at line 121 of file DetailedSiteSimulator.h.
References bpp::SubstitutionRegisterInterface::getNumberOfSubstitutionTypes(), and paths_.
|
inline |
Definition at line 63 of file DetailedSiteSimulator.h.
References ancestralStates_, currentIndex_, indexes_, leavesId_, paths_, statemap_, and tree_.
|
private |
Definition at line 30 of file DetailedSiteSimulator.h.
Referenced by addNode(), getAncestralState(), getFinalStates(), operator=(), and SiteSimulationResult().
|
private |
Definition at line 28 of file DetailedSiteSimulator.h.
Referenced by addNode(), and operator=().
|
mutableprivate |
Definition at line 27 of file DetailedSiteSimulator.h.
Referenced by addNode(), getAncestralState(), getFinalStates(), getMutationPath(), getSubstitutionCount(), operator=(), and SiteSimulationResult().
|
private |
Definition at line 32 of file DetailedSiteSimulator.h.
Referenced by getFinalStates(), getLeaveNames(), and operator=().
|
private |
Definition at line 29 of file DetailedSiteSimulator.h.
Referenced by addNode(), getMutationPath(), getSubstitutionCount(), getSubstitutionVector(), and operator=().
|
private |
Definition at line 33 of file DetailedSiteSimulator.h.
Referenced by alphabet(), getAlphabet(), getSite(), and operator=().
|
private |
Definition at line 31 of file DetailedSiteSimulator.h.
Referenced by getLeaveNames(), and operator=().