~/talk

Solving Problems with Automata

Talkat Clojure/conj 2015 · 2015-11-16..11-18· [functional-programming]
links:none on file
links:none on file
slides:none on file

Finite automata solve concrete puzzles here: using Clojure libraries automat and reduce-fsm a maximal non‑segment sum becomes an O(n) one‑pass algorithm by tracking per‑state best sums and collapsing dominated branches, not brute force. Constraint solving with loco enforces a regular constraint over finite‑domain vars to produce a 7‑nurse 10‑day schedule (3 day, 2 night per day, no >3 workdays or 3 nights in a row) and to fill a 5x5 crossword; large dictionary automaton builds in ~6.8s and solves in ~7.6s.

AI-written summary · about

  1. 0:00Intro
  2. 1:01Finite State Machines
  3. 2:06Puzzles
  4. 2:37The maximal segment problem
  5. 3:53Brute force approach
  6. 4:50Bitmasks
  7. 5:19Regular Expressions
  8. 6:36Automata Library
  9. 7:23Advanced Function
  10. 9:27NonSegmented Mask Prefix
  11. 9:52Cartesian Product Function
  12. 10:38Can we do better
  13. 17:14Big Ideas
  14. 18:34Constraint Programming
  15. 19:31Finite Domain Integer Variables
  16. 21:20Propagators
  17. 21:58Propagators Example
  18. 23:52Loco Trick
  19. 24:34Fusion
  20. 24:54Regular Constraint
  21. 25:55Transition Table
  22. 26:16Scheduling
  23. 30:05Scheduling Diagram
  24. 31:15Crossword Puzzle
  25. 34:40Dictionary Automata
  26. 36:08Code Demo
  27. 37:12Takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.