projects
/
satune.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bab57a
)
Adding print tuner ...
author
Hamed Gorjiara
<hgorjiar@uci.edu>
Thu, 15 Nov 2018 18:19:41 +0000
(10:19 -0800)
committer
Hamed Gorjiara
<hgorjiar@uci.edu>
Thu, 15 Nov 2018 18:19:41 +0000
(10:19 -0800)
src/Test/printtuner.cc
[new file with mode: 0644]
patch
|
blob
diff --git a/src/Test/printtuner.cc
b/src/Test/printtuner.cc
new file mode 100644
(file)
index 0000000..
1c63b2f
--- /dev/null
+++ b/
src/Test/printtuner.cc
@@ -0,0
+1,15
@@
+#include "csolver.h"
+#include "multituner.h"
+#include "searchtuner.h"
+
+int main(int argc, char **argv) {
+ if (argc < 2) {
+ printf("You should specify a tuner: %s <best.tuner>\n", argv[0]);
+ exit(-1);
+ }
+
+ SearchTuner *tuner = new SearchTuner(argv[1]);
+ tuner->print();
+ delete tuner;
+ return 0;
+}