From 447005017ab7a264e91eee38d13095e2f7841021 Mon Sep 17 00:00:00 2001 From: pranathivemuri Date: Sun, 24 Jan 2016 01:33:00 -0600 Subject: [PATCH] program to generate geometry metric for netmets --- main.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+), 0 deletions(-) create mode 100644 main.cpp diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..74f1e7d --- /dev/null +++ b/main.cpp @@ -0,0 +1,23 @@ +#include +#include +#include +#include +#include + +#include +#include +using namespace stim; +//template + +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); + 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