bpp-phyl3  3.0.0
bpp::TrivialSitePartition Class Reference

Trivial site partition: all sites belong to the same, unique partition. More...

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

+ Inheritance diagram for bpp::TrivialSitePartition:
+ Collaboration diagram for bpp::TrivialSitePartition:

Public Member Functions

 TrivialSitePartition (size_t nbDistinctSites)
 
TrivialSitePartitionclone () const
 
size_t getNumberOfPartitions () const
 
size_t getNumberOfPatternsForPartition (size_t partitionIndex) const
 

Private Attributes

size_t nbDistinctSites_
 

Detailed Description

Trivial site partition: all sites belong to the same, unique partition.

Definition at line 34 of file SitePartition.h.

Constructor & Destructor Documentation

◆ TrivialSitePartition()

bpp::TrivialSitePartition::TrivialSitePartition ( size_t  nbDistinctSites)
inline

Definition at line 41 of file SitePartition.h.

Referenced by clone().

Member Function Documentation

◆ clone()

TrivialSitePartition* bpp::TrivialSitePartition::clone ( ) const
inlinevirtual

Implements bpp::SitePartition.

Definition at line 43 of file SitePartition.h.

References TrivialSitePartition().

◆ getNumberOfPartitions()

size_t bpp::TrivialSitePartition::getNumberOfPartitions ( ) const
inlinevirtual

Implements bpp::SitePartition.

Definition at line 46 of file SitePartition.h.

◆ getNumberOfPatternsForPartition()

size_t bpp::TrivialSitePartition::getNumberOfPatternsForPartition ( size_t  partitionIndex) const
inlinevirtual

Implements bpp::SitePartition.

Definition at line 47 of file SitePartition.h.

References nbDistinctSites_.

Member Data Documentation

◆ nbDistinctSites_

size_t bpp::TrivialSitePartition::nbDistinctSites_
private

Definition at line 38 of file SitePartition.h.

Referenced by getNumberOfPatternsForPartition().


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