#include <genesis/taxonomy/functions/entropy_data.hpp>
Inherits BaseTaxonData.
Definition at line 53 of file entropy_data.hpp.
Public Member Functions | |
EntropyTaxonData (EntropyTaxonData &&)=delete | |
virtual | ~EntropyTaxonData () override=default |
virtual std::unique_ptr< BaseTaxonData > | clone () const override |
Polymorphically copy an instance of this class. Use instead of copy constructor. More... | |
EntropyTaxonData & | operator= (EntropyTaxonData &&)=delete |
Public Member Functions inherited from BaseTaxonData | |
BaseTaxonData (BaseTaxonData &&)=delete | |
Deleted move constructor. More... | |
virtual | ~BaseTaxonData ()=default |
Virtual destructor. Needed for polymorphism. More... | |
BaseTaxonData & | operator= (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::SiteCounts | counts |
double | entropy = 0.0 |
PruneStatus | status = PruneStatus::kInside |
Protected Member Functions | |
EntropyTaxonData ()=default | |
EntropyTaxonData (EntropyTaxonData const &)=default | |
EntropyTaxonData & | operator= (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... | |
BaseTaxonData & | operator= (BaseTaxonData const &)=default |
Protected copy assignment. Not used right now. More... | |
|
overridevirtualdefault |
|
delete |
|
protecteddefault |
|
protecteddefault |
|
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.
|
inlinestatic |
Definition at line 110 of file entropy_data.hpp.
|
delete |
|
protecteddefault |
|
inlinestatic |
Definition at line 78 of file entropy_data.hpp.
|
inlinestatic |
Definition at line 68 of file entropy_data.hpp.
|
strong |
Enumerator | |
---|---|
kInside | |
kBorder | |
kOutside |
Definition at line 61 of file entropy_data.hpp.
sequence::SiteCounts counts |
Definition at line 124 of file entropy_data.hpp.
double entropy = 0.0 |
Definition at line 125 of file entropy_data.hpp.
PruneStatus status = PruneStatus::kInside |
Definition at line 126 of file entropy_data.hpp.