40 #ifndef _PHYLIPDISTANCEMATRIXFORMAT_H_ 41 #define _PHYLIPDISTANCEMATRIXFORMAT_H_ 70 DistanceMatrix*
read(
const std::string& path)
const throw (Exception)
74 DistanceMatrix*
read(std::istream& in)
const throw (Exception);
76 void write(
const DistanceMatrix& dist,
const std::string& path,
bool overwrite =
true)
const throw (Exception)
80 void write(
const DistanceMatrix& dist, std::ostream& out)
const throw (Exception);
86 #endif //_PHYLIPDISTANCEMATRIXFORMAT_H_
virtual DistanceMatrix * read(const std::string &path) const
Read a distance matrix from a file.
virtual void write(const DistanceMatrix &dist, const std::string &path, bool overwrite) const
Write a distance matrix to a file.
Partial implementation of the ODistanceMatrix interface.
Partial implementation of the IDistanceMatrix interface.