Skip to content

Commit

Permalink
Merge branch 'master' of github.com:vbanas/beesy-beaver
Browse files Browse the repository at this point in the history
  • Loading branch information
Unmyth committed Aug 9, 2015
2 parents 7b1f66a + 367d218 commit fe6f171
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/other-searches.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
crot
(unit-generator-units-left unit-generator)))))

(defparameter *vert-coef* 20)
(defparameter *vert-coef* 40)
(defparameter *horiz-coef* 10)
(defparameter *hole-coef* 10)
(defparameter *lines-coef* 5)
(defparameter *lines-coef* 15)
(defparameter *min-row-coef* 1)

(defun raw-field-estimates (field lines-removed)
Expand Down Expand Up @@ -191,7 +191,7 @@
;; front is list of wave-states
;; wave-state is list of state path locked-cnt locked-list matching-words
;; matching-words is list of states to match magic words (see magic-words.lisp)
(let ((visited (make-hash-table :test #'equal))
(let ((visited (make-hash-table :test #'equalp))
(front (list (list state base-path)))
(magic-words-front nil)
(*solutions-by-pos* (make-hash-table :test #'equalp))
Expand All @@ -211,7 +211,7 @@
;; (wave-state-id state) (gethash (cons locked-list (wave-state-id state)) visited))
(let* ((finished (or was-locked
(gs-terminal? state)))
(id (wave-state-id state)))
(id (cons (gs-matchers state) (wave-state-id state))))
(if (and (not finished)
(gethash id visited))
nil
Expand Down

0 comments on commit fe6f171

Please sign in to comment.