alpar@12: /* -*- mode: C++; indent-tabs-mode: nil; -*- alpar@12: * alpar@12: * This file is a part of LEMON, a generic C++ optimization library. alpar@12: * alpar@12: * Copyright (C) 2003-2011 alpar@12: * Egervary Jeno Kombinatorikus Optimalizalasi Kutatocsoport alpar@12: * (Egervary Research Group on Combinatorial Optimization, EGRES). alpar@12: * alpar@12: * Permission to use, modify and distribute this software is granted alpar@12: * provided that this copyright notice appears in all copies. For alpar@12: * precise terms see the accompanying LICENSE file. alpar@12: * alpar@12: * This software is provided "AS IS" with no warranty of any kind, alpar@12: * express or implied, and with no claim as to its suitability for any alpar@12: * purpose. alpar@12: * alpar@12: */ alpar@12: alpar@10: #include alpar@11: #include alpar@11: #include alpar@10: alpar@10: using namespace lemon; alpar@10: alpar@11: std::string instance_name; alpar@11: alpar@11: int testMain(std::istream &input); alpar@10: alpar@10: int main(int argc, char **argv) alpar@10: { alpar@11: if(argc!=2) exit(1); alpar@11: alpar@11: std::ifstream input; alpar@11: input.open((DATADIR_PATH+"/"+argv[1]).c_str()); alpar@11: alpar@11: instance_name = argv[1]; alpar@11: alpar@10: Timer ti; alpar@11: testMain(input); alpar@10: logTime("total",ti); alpar@10: }