bpp-phyl3  3.0.0
bpp::SitePartition Class Referenceabstract

This is the interface for classes describing a site partition, each partition being intended to have its own substitution model. More...

#include <Bpp/Phyl/Likelihood/SitePartition.h>

+ Inheritance diagram for bpp::SitePartition:
+ Collaboration diagram for bpp::SitePartition:

Public Member Functions

SitePartitionclone () const =0
 
virtual size_t getNumberOfPartitions () const =0
 
virtual size_t getNumberOfPatternsForPartition (size_t partitionIndex) const =0
 

Detailed Description

This is the interface for classes describing a site partition, each partition being intended to have its own substitution model.

A site partition defines the distinct patterns to be found in the data, A pattern being a unique combination of site * model.

Warning
This interface is still under construction. Breaks are expected to occur!

Definition at line 20 of file SitePartition.h.

Member Function Documentation

◆ clone()

SitePartition* bpp::SitePartition::clone ( ) const
pure virtual

Implements bpp::Clonable.

Implemented in bpp::TrivialSitePartition.

◆ getNumberOfPartitions()

virtual size_t bpp::SitePartition::getNumberOfPartitions ( ) const
pure virtual

Implemented in bpp::TrivialSitePartition.

◆ getNumberOfPatternsForPartition()

virtual size_t bpp::SitePartition::getNumberOfPatternsForPartition ( size_t  partitionIndex) const
pure virtual

Implemented in bpp::TrivialSitePartition.


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