5 #ifndef BPP_PHYL_IO_IOFREQUENCYSET_H
6 #define BPP_PHYL_IO_IOFREQUENCYSET_H
9 #include "../Model/FrequencySet/FrequencySet.h"
32 virtual const std::string
getDataType()
const {
return "Frequencies Set"; }
58 std::shared_ptr<const Alphabet> alphabet,
59 const std::string& freqDescription,
60 const std::map<
size_t, std::shared_ptr<const AlignmentDataInterface>>& mData,
62 bool parseArguments =
true) = 0;
94 std::map<std::string, std::string>& globalAliases,
95 std::vector<std::string>& writtenNames)
const = 0;
Parametrize a set of state frequencies.
General interface for distance matrix readers.
virtual std::unique_ptr< FrequencySetInterface > 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)=0
Read a frequencies set from a string.
virtual const std::map< std::string, std::string > & getUnparsedArguments() const =0
General interface for model I/O.
virtual const std::string getDataType() const
virtual ~IoFrequencySet()
General interface for distance matrix writers.
virtual void writeFrequencySet(const FrequencySetInterface &pfreqset, OutputStream &out, std::map< std::string, std::string > &globalAliases, std::vector< std::string > &writtenNames) const =0
Write a substitution model to a stream.
Defines the basic types of data flow nodes.