diff --git a/main.cpp b/main.cpp index 74f1e7d..6c74f60 100644 --- a/main.cpp +++ b/main.cpp @@ -8,16 +8,20 @@ #include using namespace stim; //template +network* network1; + int main(int argc, char* argv[]) { std::string groundTruth = argv[1]; std::string truthCase = argv[2]; - stim::network network; - boost::tuple< ANNkd_tree*, ANNkd_tree*, stim::network, stim::network > networkKdtree; - networkKdtree = network.LoadNetworks(groundTruth, truthCase); - /*std::cout<().edges_to_str()< metrics = network.compareSkeletons(networkKdtree); + //stim::network network; + boost::tuple< ANNkd_tree*, ANNkd_tree*, stim::network, stim::network > networkKdtree; + networkKdtree = network1->LoadNetworks(groundTruth, truthCase); + //std::cout<().edges_to_str()<().to_obj(); + //networkKdtree.get< 2>() + boost::tuple< float, float > metrics = network1->compareSkeletons(networkKdtree); std::cout << "False postive rate is " << metrics.get< 0>() << std::endl; std::cout << "False negative rate is " << metrics.get< 1>() << std::endl; } -- libgit2 0.21.4