5 #ifndef BPP_IO_IODISCRETEDISTRIBUTION_H 6 #define BPP_IO_IODISCRETEDISTRIBUTION_H 9 #include "../Exceptions.h" 10 #include "../Numeric/Prob/DiscreteDistribution.h" 27 virtual const std::string
getDataType()
const {
return "Discrete Distribution"; }
49 virtual std::unique_ptr<DiscreteDistributionInterface> readDiscreteDistribution(
50 const std::string& distrDescription,
51 bool parseArguments =
true) = 0;
56 virtual const std::map<std::string, std::string>& getUnparsedArguments()
const = 0;
80 virtual void writeDiscreteDistribution(
83 std::map<std::string, std::string>& globalAliases,
84 std::vector<std::string>& writtenNames)
const = 0;
87 #endif // BPP_IO_IODISCRETEDISTRIBUTION_H General interface for distance matrix readers.
General interface writers.
Interface for discrete distribution objects.
virtual ~IDiscreteDistribution()
virtual ~ODiscreteDistribution()
virtual const std::string getDataType() const
Get the type of data this format deals with.
virtual ~IoDiscreteDistribution()
General interface for model I/O.