From c751e37e59d06422da132cc921c88d0fa8a87c6d Mon Sep 17 00:00:00 2001 From: lhm217 Date: Tue, 5 May 2015 10:38:23 +0800 Subject: [PATCH] fix bug in main.cpp --- fogsrc/main.cpp | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/fogsrc/main.cpp b/fogsrc/main.cpp index df6893e..28184d9 100644 --- a/fogsrc/main.cpp +++ b/fogsrc/main.cpp @@ -33,8 +33,6 @@ #include "../application/spmv.hpp" #include "../application/cc.hpp" #include "../application/bfs.hpp" -#include "../application/1-Nh.hpp" -#include "../application/2-Nh.hpp" //boost::property_tree::ptree pt; //boost::program_options::options_description desc; @@ -120,34 +118,6 @@ void start_engine(std::string prog_name) fog_engine, cc_vert_attr, cc_vert_attr, T> *eng; (*(eng = new fog_engine, cc_vert_attr, cc_vert_attr, T>(TARGET_ENGINE)))(); delete eng; - }else if( prog_name == "1nh" ){ - OneNh_program * onenh = new OneNh_program; - unsigned int query_id = vm["1nh::query-root"].as(); - if(0 == query_id) - { - std::cout<<"You didn't input the 1nh::query_root or you chose the default value:0, the program will start at query_root=0."<run(query_id); - /* - OneNh_program::query_root = vm["1nh::query-root"].as(); - unsigned int root_vid = OneNh_program::query_root; - if(0 == root_vid) - { - std::cout<<"You didn't input the 1nh::query_root or you chose the default value:0, the program will start at query_root=0."<::query_root); - fog_engine, one_nh_vert_attr, one_nh_vert_attr, T> *eng; - (*(eng = new fog_engine, one_nh_vert_attr, one_nh_vert_attr, T>(TARGET_ENGINE)))(); - delete eng; - */ - }else if( prog_name == "2nh" ){ - TwoNh_program * twonh = new TwoNh_program; - unsigned int query_id = vm["2nh::query-root"].as(); - if(0 == query_id) - { - std::cout<<"You didn't input the 2nh::query_root or you chose the default value:0, the program will start at query_root=0."<run(query_id); }else if (prog_name == "demo"){ PRINT_DEBUG("demo starts!\n");