mirror of
http://43.156.76.180:8026/YuuMJ/EukPhylo.git
synced 2025-12-28 01:00:25 +08:00
24 lines
414 B
C++
24 lines
414 B
C++
#include <string>
|
|
#include <iostream>
|
|
#include "tree.h"
|
|
#include "treeUtil.h"
|
|
|
|
using namespace std;
|
|
|
|
int main(int argc, char** argv) {
|
|
|
|
string treeFile1 = argv[1];
|
|
string treeFile2 = argv[2];
|
|
tree t1(treeFile1);
|
|
tree t2(treeFile2);
|
|
if (sameTreeTolopogy(t1,t2)) {
|
|
cout << "1" << endl;
|
|
return 1;
|
|
} else {
|
|
cout << "0" << endl;
|
|
return 0;
|
|
}
|
|
cout << "ERROR" << endl;
|
|
return 2;
|
|
}
|