bpp-phyl3  3.0.0
bpp::SiteSimulatorInterface Class Referenceabstract

The SiteSimulator interface. SiteSimulator classes can simulate single sites. More...

#include <Bpp/Phyl/Simulation/SiteSimulator.h>

+ Inheritance diagram for bpp::SiteSimulatorInterface:
+ Collaboration diagram for bpp::SiteSimulatorInterface:

Public Member Functions

 SiteSimulatorInterface ()
 
virtual ~SiteSimulatorInterface ()
 
SiteSimulatorInterfaceclone () const override=0
 
virtual std::unique_ptr< SitesimulateSite () const =0
 
virtual std::unique_ptr< SitesimulateSite (size_t rateClass) const =0
 
virtual std::unique_ptr< SitesimulateSite (double rate) const =0
 
virtual std::unique_ptr< SitesimulateSite (size_t ancestralStateIndex, double rate) const =0
 
virtual std::vector< std::string > getSequenceNames () const =0
 
virtual std::shared_ptr< const AlphabetgetAlphabet () const =0
 
virtual const Alphabetalphabet () const =0
 
virtual void outputInternalSites (bool yn)=0
 

Detailed Description

The SiteSimulator interface. SiteSimulator classes can simulate single sites.

See also
SequenceSimulator interface for simulating whole sequence sets.

Definition at line 22 of file SiteSimulator.h.

Constructor & Destructor Documentation

◆ SiteSimulatorInterface()

bpp::SiteSimulatorInterface::SiteSimulatorInterface ( )
inline

Definition at line 26 of file SiteSimulator.h.

◆ ~SiteSimulatorInterface()

virtual bpp::SiteSimulatorInterface::~SiteSimulatorInterface ( )
inlinevirtual

Definition at line 27 of file SiteSimulator.h.

Member Function Documentation

◆ alphabet()

virtual const Alphabet& bpp::SiteSimulatorInterface::alphabet ( ) const
pure virtual

◆ clone()

◆ getAlphabet()

virtual std::shared_ptr<const Alphabet> bpp::SiteSimulatorInterface::getAlphabet ( ) const
pure virtual

◆ getSequenceNames()

virtual std::vector<std::string> bpp::SiteSimulatorInterface::getSequenceNames ( ) const
pure virtual

◆ outputInternalSites()

virtual void bpp::SiteSimulatorInterface::outputInternalSites ( bool  yn)
pure virtual

◆ simulateSite() [1/4]

virtual std::unique_ptr<Site> bpp::SiteSimulatorInterface::simulateSite ( ) const
pure virtual

◆ simulateSite() [2/4]

virtual std::unique_ptr<Site> bpp::SiteSimulatorInterface::simulateSite ( double  rate) const
pure virtual

◆ simulateSite() [3/4]

virtual std::unique_ptr<Site> bpp::SiteSimulatorInterface::simulateSite ( size_t  ancestralStateIndex,
double  rate 
) const
pure virtual

◆ simulateSite() [4/4]

virtual std::unique_ptr<Site> bpp::SiteSimulatorInterface::simulateSite ( size_t  rateClass) const
pure virtual

The documentation for this class was generated from the following file: