General interface for distance matrix readers.
More...
#include <Bpp/Phyl/Io/IoFrequencySet.h>
General interface for distance matrix readers.
Definition at line 38 of file IoFrequencySet.h.
◆ IFrequencySet()
| bpp::IFrequencySet::IFrequencySet |
( |
| ) |
|
|
inline |
◆ ~IFrequencySet()
| virtual bpp::IFrequencySet::~IFrequencySet |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
| virtual const std::string bpp::IoFrequencySet::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getUnparsedArguments()
| virtual const std::map< std::string, std::string > & bpp::IFrequencySet::getUnparsedArguments |
( |
| ) |
const |
|
pure virtual |
- Returns
- The arguments and their unparsed values from the last call of the read function, if there are any.
Implemented in bpp::BppOFrequencySetFormat.
◆ readFrequencySet()
| virtual std::unique_ptr< FrequencySetInterface > bpp::IFrequencySet::readFrequencySet |
( |
std::shared_ptr< const Alphabet > |
alphabet, |
|
|
const std::string & |
freqDescription, |
|
|
const std::map< size_t, std::shared_ptr< const AlignmentDataInterface > > & |
mData, |
|
|
size_t |
nData, |
|
|
bool |
parseArguments = true |
|
) |
| |
|
pure virtual |
Read a frequencies set from a string.
- Parameters
-
| alphabet | The alphabet to use in the model. |
| freqDescription | A string describing the frequencies set. |
| mData | A map towards pointers of SiteContainer with the data to use to initialize frequency parameters |
| nData | Number of the SiteContainer in the mData. Can be set to 0, if none assigned. |
| parseArguments | Attempt to parse function arguments. If not, only store them and use default values instead. |
- Returns
- A new FrequencySet object according to options specified.
- Exceptions
-
Implemented in bpp::BppOFrequencySetFormat.
The documentation for this class was generated from the following file: