summaryrefslogtreecommitdiffstats
path: root/Algorithms/Part-I/5-KdTrees/run.sh
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2013-03-26 07:54:25 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2013-11-15 17:38:44 +0100
commit2d3ca27255ce0433cb2af74f5e10b60fc0651d91 (patch)
tree3ac768ad5d45322200653cef369eb80408c9c10a /Algorithms/Part-I/5-KdTrees/run.sh
parentc492158417199a42314eb34fe6198e33e5b46db4 (diff)
downloadcoursera-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-xAlgorithms/Part-I/5-KdTrees/run.sh22
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