diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2013-03-26 07:54:25 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2013-11-15 17:38:44 +0100 |
commit | 2d3ca27255ce0433cb2af74f5e10b60fc0651d91 (patch) | |
tree | 3ac768ad5d45322200653cef369eb80408c9c10a /Algorithms/Part-I/5-KdTrees/run.sh | |
parent | c492158417199a42314eb34fe6198e33e5b46db4 (diff) | |
download | coursera-2d3ca27255ce0433cb2af74f5e10b60fc0651d91.zip coursera-2d3ca27255ce0433cb2af74f5e10b60fc0651d91.tar.gz |
Algorithms-I : 5-KdTrees: added, to be completed
Diffstat (limited to 'Algorithms/Part-I/5-KdTrees/run.sh')
-rwxr-xr-x | Algorithms/Part-I/5-KdTrees/run.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Algorithms/Part-I/5-KdTrees/run.sh b/Algorithms/Part-I/5-KdTrees/run.sh new file mode 100755 index 0000000..04a4561 --- /dev/null +++ b/Algorithms/Part-I/5-KdTrees/run.sh @@ -0,0 +1,22 @@ +#! /bin/bash + +export "CLASSPATH=$CLASSPATH:.:$HOME/algs4/algs4.jar:$HOME/algs4/stdlib.jar" + +CLASSES="PointSET KdTree" + +rm *.class *.zip 2>/dev/null + +echo "javac RectHV.java" && javac RectHV.java +for kls in $CLASSES; do + ~/algs4/bin/checkstyle ${kls}.java + echo "javac ${kls}.java" && javac ${kls}.java +done +~/algs4/bin/findbugs *.class + +echo "RUN..." +for kls in KdTreeVisualizer NearestNeighborVisualizer RangeSearchVisualizer; do + echo "javac ${kls}.java" && javac ${kls}.java && java ${kls} +done + + +zip kdtree.zip PointSET.java KdTree.java |