Skip to content

Commit

Permalink
record some references
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtized committed Jul 13, 2023
1 parent a73aee4 commit 2ab5c51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shimmers/algorithm/linear_assignment.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
[thi.ng.geom.core :as g]
[thi.ng.geom.vector :as gv]))

;; See also https://antimatroid.wordpress.com/2017/03/21/a-greedy-approximation-algorithm-for-the-linear-assignment-problem/

(defn online-match-matrix [comparator as bs]
{:queue (priority/priority-map-by comparator)
:edges (mc/cartesian-product (range (count as))
Expand Down
1 change: 1 addition & 0 deletions src/shimmers/math/control.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
(tm/- (tm/* dir control)
(tm/* velocity (* 2 (Math/sqrt control))))))

;; see also http://brettbeauregard.com/blog/tag/beginners-pid/
(defprotocol IPid
(adjust [_ time-ms value]))

Expand Down

0 comments on commit 2ab5c51

Please sign in to comment.