40 #ifndef _IOFREQUENCIESSET_H_ 41 #define _IOFREQUENCIESSET_H_ 43 #include "../Model/FrequenciesSet/FrequenciesSet.h" 46 #include <Bpp/Exceptions.h> 47 #include <Bpp/Io/IoFormat.h> 48 #include <Bpp/Io/OutputStream.h> 51 #include <Bpp/Seq/Container/SiteContainer.h> 62 public virtual IOFormat
69 virtual const std::string
getDataType()
const {
return "Frequencies Set"; }
93 virtual FrequenciesSet*
read(
const Alphabet* alphabet,
const std::string& freqDescription,
const SiteContainer* data,
bool parseArguments) = 0;
122 std::vector<std::string>& writtenNames)
const = 0;
128 #endif //_IOFREQUENCIESSET_H_
virtual const std::string getDataType() const
Parametrize a set of state frequencies.
virtual void write(const FrequenciesSet *pfreqset, OutputStream &out, std::vector< std::string > &writtenNames) const =0
Write a substitution model to a stream.
virtual ~IFrequenciesSet()
virtual ~OFrequenciesSet()
virtual const std::map< std::string, std::string > & getUnparsedArguments() const =0
General interface for distance matrix writers.
General interface for distance matrix readers.
virtual ~IoFrequenciesSet()
General interface for model I/O.
virtual FrequenciesSet * read(const Alphabet *alphabet, const std::string &freqDescription, const SiteContainer *data, bool parseArguments)=0
Read a frequencies set from a string.