-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtestcmd.cpp
56 lines (40 loc) · 962 Bytes
/
testcmd.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
#include <iostream>
#include <fstream>
#include <unistd.h>
#include <getopt.h>
#include "coords.h"
#include "psout.h"
#include "backtrack_common.h"
#include "backtrack_naive_unique.h"
#include "bitmatrix_to_ps.h"
#include "bits.h"
#include "simple_naked_single.h"
#include "naked_single.h"
#include "hidden_single.h"
#include "nh_subset.h"
#include "pointing.h"
#include "boxline.h"
#include "nfish.h"
#include "simple_coloring.h"
#include "pretty_solver.h"
#include "pattern.h"
#include "backtrack_to_bits.h"
#include "permutation.h"
//#include "cairo_out.h"
#include "bits_to_output.h"
#include "strong_link.h"
#include "simple_complete_gen.h"
#include "naive_gen.h"
#include "svgout.h"
int main(int argc, char* argv[]) {
Bits bits = Bits();
std::cin >> bits;
SVGOut svg = SVGOut();
write_numbers(&bits, &svg);
write_candidates(&bits, &svg);
std::ofstream file;
file.open("example.svg");
svg.draw(file);
file.close();
return 0;
}