mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 06:10:24 +08:00
19 lines
335 B
C++
19 lines
335 B
C++
#include "cSquareMatrix.h"
|
|
#include "cOccuranceData.h"
|
|
#include <string>
|
|
#include <stdio.h>
|
|
|
|
cOccurancePair ReadcOccurancePair(istream& in, const int length)
|
|
{
|
|
cSquareMatrix m(length);
|
|
double dist=0.0;
|
|
string tmp;
|
|
in >> tmp;
|
|
sscanf(tmp.c_str(),"dist=%lf",&dist);
|
|
m.Read(in);
|
|
|
|
cOccurancePair p(dist, m);
|
|
return(p);
|
|
}
|
|
|