-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
executable file
·67 lines (35 loc) · 995 Bytes
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
//#include <QtCore/QCoreApplication>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string.h>
#include <time.h>
#include <ctime>
#include "dataIO.hpp"
//#include "heuristic.hpp";
using namespace std;
struct A{
void f(int i, int j){
cout << i << "\t" << j << endl;
}
void d(){}
};
int main(int argc, char *argv[])
{
/// rlfap celar et graph
// LRFAP_solver<Solver>* pbm = new LRFAP_solver<Solver>();
// pbm->readDomFile(argv[1]);
// pbm->readVarFile(argv[2]);
// pbm->readCtrFile(argv[3]);
/// dimacs
DIMACS_coloring<Solver>* pbm = new DIMACS_coloring<Solver>();
pbm->read(argv[1],
boost::numeric_cast<int32_t>(boost::lexical_cast<int>(argv[2])));
/// roadef 2001
// FAPP<Solver>* pbm = new FAPP<Solver>();
// pbm->read(argv[1],boost::numeric_cast<int32_t>(boost::lexical_cast<int>(argv[2])));
pbm->solve();
delete pbm;
exit(0);
}