diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-03-11 08:06:21 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-15 17:38:44 +0100 |
commit | af56ef8708c749b9eeee220c8fa6bc729f9380f7 (patch) | |
tree | 847e85c35ea3a08448051bd913e6a09991858d14 /Algorithms/Part-I/3-Collinear/run.sh | |
parent | c3f1f5217fd2df4981f427540b2535f566d8a1e8 (diff) | |
download | coursera-af56ef8708c749b9eeee220c8fa6bc729f9380f7.zip coursera-af56ef8708c749b9eeee220c8fa6bc729f9380f7.tar.gz |
Algorithms-I : 3-Collinear: first submission, Fast is slow ;)
Diffstat (limited to 'Algorithms/Part-I/3-Collinear/run.sh')
-rwxr-xr-x | Algorithms/Part-I/3-Collinear/run.sh | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Algorithms/Part-I/3-Collinear/run.sh b/Algorithms/Part-I/3-Collinear/run.sh new file mode 100755 index 0000000..154d8d7 --- /dev/null +++ b/Algorithms/Part-I/3-Collinear/run.sh @@ -0,0 +1,24 @@ +#! /bin/bash + +export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" + +CLASSES="Point Brute Fast" + +rm *.class *.zip 2>/dev/null + +for kls in $CLASSES; do + ~/algs4/bin/checkstyle ${kls}.java + javac ${kls}.java +done +~/algs4/bin/findbugs *.class + +echo "RUN..." +# java -enableassertions Point +# java Brute input6.txt +# java Brute input8.txt +java Brute random152.txt +# java Fast input6.txt +# java Fast input8.txt +java Fast random152.txt + +zip collinear.zip Point.java Brute.java Fast.java |