~/talk

Rubik's Cubes and Genetic Algorithms in Swift

Talkat Forward Swift 2017 · on Thursday, 2017-03-02· [machine-learning, swift]
slides:none on file

A Swift Rubik's cube library and genetic algorithm implement mutable move-sequence genomes that evolve toward solved states, running for about 80,800 generations over ~15 hours and sampling close to 500 million move sequences. Fitness counts pieces in correct position and orientation; the best run reaches fitness 16 (four pieces misoriented) with a 220‑move solution, so it never fully solves the cube but converges very close; code and implementation details are on GitHub.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:06Evolution by natural selection
  3. 2:34Why genetic algorithms
  4. 4:00Simple genetic algorithm demo
  5. 7:35Rubik's Cube basics
  6. 9:49Representing the cube in Swift
  7. 11:36Genetic algorithm for cube solving
  8. 13:26Results and limitations
  9. 15:12Conclusion and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.