Permalink
Browse files

removed dup fn def from bad merge

  • Loading branch information...
1 parent 1d10157 commit a8c124f83239327f4ea0c30c187dc7afefd71bba Robert Campbell committed Dec 11, 2011
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/aichallenge/collisions.clj
@@ -19,13 +19,6 @@
(first (remove (fn [[_ _ next-move]] (m next-move))
poss))))
-(defn- all-alternatives [collisions]
- (for [collision collisions
- :let [moves (val collision)]
- :when (> (count moves) 1)
- [ant dir] moves]
- (find-alternative collisions ant (difference directions #{dir}))))
-
(let [directions #{:north :south :east :west}]
(defn- all-alternatives [collisions]
(for [collision collisions

0 comments on commit a8c124f

Please sign in to comment.