-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsemopt.h
executable file
·68 lines (53 loc) · 1.27 KB
/
semopt.h
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
68
/**
* @file semopt.h
* @author Federico Cerutti <[email protected]>
* @copyright GNU Public License v3
*/
#ifndef _SEMOPT_H
#define _SEMOPT_H
#include <cmath>
#include <cstdio>
#include <fstream>
#include <cstdlib>
#include <stdlib.h>
#include <vector>
#include <time.h>
#include <algorithm>
#include <iostream>
#include <sstream>
#include <cstring>
#include <string>
#include <cassert>
#include <set>
#include <vector>
#define DIMBUFFER 100000
using namespace std;
#define HG(a) static const char *hgrev = a;
#define _PUBLIC_RELEASE "0.2alpha5-SCC"
#ifndef _PUBLIC_RELEASE
#include "hgversion.h"
#else
#define HG(a) static const char *hgrev = a;
HG("Version: "_PUBLIC_RELEASE);
#endif
#include "AF.h"
#include "OrClause.h"
#include "SATFormulae.h"
#include "SetArguments.h"
#include "Labelling.h"
#include "Argument.h"
#include "Preferred.h"
#include "SCCSSEQ.h"
#include "grounded.h"
#include "pref.h"
extern bool debug;
extern bool externalsat;
extern string satsolver;
extern int labellingconditions;
extern string inputfile;
extern string semantics;
extern bool manualopt;
extern time_t start;
bool parse_solution_aspartix(set<set<string> > *, const char *);
#endif /* _SEMOPT_H */
int precosat_lib(stringstream *the_cnf, int num_var, int num_cl, vector<int> *result);