5 #ifndef BPP_PHYL_LEGACY_IO_IODISTANCEMATRIXFACTORY_H
6 #define BPP_PHYL_LEGACY_IO_IODISTANCEMATRIXFACTORY_H
50 virtual std::unique_ptr<IDistanceMatrix>
createReader(
const std::string& format,
bool extended =
false);
61 virtual std::unique_ptr<ODistanceMatrix>
createWriter(
const std::string& format,
bool extended =
false);
Utilitary class for creating distance matrix readers and writers.
virtual std::unique_ptr< ODistanceMatrix > createWriter(const std::string &format, bool extended=false)
Get a new dynamically created ODistanceMatrix object.
virtual std::unique_ptr< IDistanceMatrix > createReader(const std::string &format, bool extended=false)
Get a new dynamically created IDistanceMatrix object.
IODistanceMatrixFactory()
Creates a new factory object.
static const std::string PHYLIP_FORMAT
virtual ~IODistanceMatrixFactory()
This alphabet is used to deal NumericAlphabet.