General interface for distance matrix readers.
More...
#include <Bpp/Phyl/Io/IoSubstitutionModel.h>
General interface for distance matrix readers.
Definition at line 75 of file IoSubstitutionModel.h.
◆ ISubstitutionModel()
| bpp::ISubstitutionModel::ISubstitutionModel |
( |
| ) |
|
|
inline |
◆ ~ISubstitutionModel()
| virtual bpp::ISubstitutionModel::~ISubstitutionModel |
( |
| ) |
|
|
inlinevirtual |
◆ getDataType()
| virtual const std::string bpp::IoSubstitutionModel::getDataType |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ getUnparsedArguments()
| virtual const std::map<std::string, std::string>& bpp::ISubstitutionModel::getUnparsedArguments |
( |
| ) |
const |
|
pure virtual |
◆ read()
| virtual SubstitutionModel* bpp::ISubstitutionModel::read |
( |
const Alphabet * |
alphabet, |
|
|
const std::string & |
modelDescription, |
|
|
const SiteContainer * |
data = 0, |
|
|
bool |
parseArguments = true |
|
) |
| |
|
pure virtual |
Read a substitution model from a string.
- Parameters
-
| alphabet | The alpabet to use in the model. |
| modelDescription | A string describing the model in the format. |
| data | A pointer toward a SiteContainer, which can be used to initial some parmaeters like frequencies. |
| parseArguments | Attempt to parse function arguments. If not, only store them and use default values instead. |
- Returns
- A new SubstitutionModel object according to options specified.
- Exceptions
-
| Exception | if an error occured. |
Implemented in bpp::BppOSubstitutionModelFormat.
The documentation for this class was generated from the following file: