aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoachim Tingvold <joachim@tingvold.com>2017-04-02 03:15:38 +0200
committerJoachim Tingvold <joachim@tingvold.com>2017-04-02 03:15:38 +0200
commit525b0031c403270408b551d6676fd795fc6cbf9a (patch)
tree0367fe9e93d96400a22fcbf7254dd648ca30bcf4
parentd0c1d5157eeade426b75230a737326bc16e042dc (diff)
Full one-liner added to planning.
-rw-r--r--planning/planning.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/planning/planning.cpp b/planning/planning.cpp
index 8aeb503..9ba88e1 100644
--- a/planning/planning.cpp
+++ b/planning/planning.cpp
@@ -6,6 +6,10 @@
// (runs n iterations, each iteration is O(VE), V is O(n), E is O(dn))).
//
// g++ -std=gnu++11 -Wall -g -O3 -fopenmp -DOUTPUT_FILES=1 -o planning planning.cpp && ./planning -4 6 14 -23 24 -30 32 37 -38
+//
+// Full one-liner:
+// rm planning ; g++ -std=gnu++11 -Wall -g -O3 -fopenmp -DOUTPUT_FILES=1 -o planning planning.cpp && ./planning -4 6 14 -23 24 -30 32 37 -38 ; sort -k 2,2 -k 1,1V patchlist.txt > patchlist.txt.distrosort ; cp patchlist.txt* switches.txt ../
+
#include <stdio.h>
#include <math.h>