A toolkit for working with phylogenetic data.
v0.18.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EntropyTaxonData Class Reference

#include <genesis/taxonomy/functions/entropy_data.hpp>

Inherits BaseTaxonData.

Detailed Description

Definition at line 53 of file entropy_data.hpp.

Public Member Functions

 EntropyTaxonData (EntropyTaxonData &&)=delete
 
virtual ~EntropyTaxonData ()=default
 
virtual std::unique_ptr
< BaseTaxonData
clone () const override
 Polymorphically copy an instance of this class. Use instead of copy constructor. More...
 
EntropyTaxonDataoperator= (EntropyTaxonData &&)=delete
 
- Public Member Functions inherited from BaseTaxonData
 BaseTaxonData (BaseTaxonData &&)=delete
 Deleted move constructor. More...
 
virtual ~BaseTaxonData ()=default
 Virtual destructor. Needed for polymorphism. More...
 
BaseTaxonDataoperator= (BaseTaxonData &&)=delete
 Deleted move assignment. More...
 

Static Public Member Functions

static std::unique_ptr
< EntropyTaxonData
create ()
 
static std::string status_abbreviation (PruneStatus stat)
 
static std::string status_text (PruneStatus stat)
 
- Static Public Member Functions inherited from BaseTaxonData
static std::unique_ptr
< BaseTaxonData
create ()
 Create a new instance of this class. Use instead of default constructor. More...
 

Public Types

enum  PruneStatus { kInside, kBorder, kOutside }
 

Public Attributes

sequence::SequenceCounts counts
 
double entropy = 0.0
 
PruneStatus status = PruneStatus::kInside
 

Protected Member Functions

 EntropyTaxonData ()=default
 
 EntropyTaxonData (EntropyTaxonData const &)=default
 
EntropyTaxonDataoperator= (EntropyTaxonData const &)=default
 
- Protected Member Functions inherited from BaseTaxonData
 BaseTaxonData ()=default
 Protected default constructor. Called from the create() function. More...
 
 BaseTaxonData (BaseTaxonData const &)=default
 Protected copy constructor. Called from the clone() function. More...
 
BaseTaxonDataoperator= (BaseTaxonData const &)=default
 Protected copy assignment. Not used right now. More...
 

Constructor & Destructor Documentation

virtual ~EntropyTaxonData ( )
virtualdefault
EntropyTaxonData ( )
protecteddefault
EntropyTaxonData ( EntropyTaxonData const &  )
protecteddefault

Member Function Documentation

virtual std::unique_ptr< BaseTaxonData > clone ( ) const
inlineoverridevirtual

Polymorphically copy an instance of this class. Use instead of copy constructor.

Reimplemented from BaseTaxonData.

Definition at line 115 of file entropy_data.hpp.

static std::unique_ptr< EntropyTaxonData > create ( )
inlinestatic

Definition at line 110 of file entropy_data.hpp.

EntropyTaxonData& operator= ( EntropyTaxonData &&  )
delete
EntropyTaxonData& operator= ( EntropyTaxonData const &  )
protecteddefault
static std::string status_abbreviation ( PruneStatus  stat)
inlinestatic

Definition at line 78 of file entropy_data.hpp.

static std::string status_text ( PruneStatus  stat)
inlinestatic

Definition at line 68 of file entropy_data.hpp.

Member Enumeration Documentation

enum PruneStatus
strong
Enumerator
kInside 
kBorder 
kOutside 

Definition at line 61 of file entropy_data.hpp.

Member Data Documentation

Definition at line 124 of file entropy_data.hpp.

double entropy = 0.0

Definition at line 125 of file entropy_data.hpp.

Definition at line 126 of file entropy_data.hpp.


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