~/talk

Exploring Graphs with Ruby

Talkat Balkan Ruby 2019 · 2019-05-17..05-18· [ruby, data-visualization]
links:none on file
slides:none on file

Ruby code builds graph objects from JSON adjacency matrices and adjacency lists and runs traversal and shortest-path algorithms on up to 230 nodes. Implements Dijkstra and A implemented with edge weights stored on edges and a priority queue frontier (uses a priority_queue gem* or simple binary heap). Also adapts a 2018 cache-shortest-path variant for multiple alternatives. Example: site for International Union for Crystallography uses these Ruby routines to compute shortest routes and diagnostics; suitable for experimentation, not big-data graph databases.

AI-written summary · about

  1. 0:00Introduction and speaker background
  2. 4:29What is a graph
  3. 8:32Graph representation in Ruby
  4. 13:31Building a Graph class
  5. 14:56Graph traversal algorithms overview
  6. 15:58Depth-first search explained
  7. 20:43Breadth-first search explained
  8. 24:12Weighted graphs and Dijkstra's
  9. 29:52A-star search algorithm
  10. 32:02k-shortest paths problem
  11. 33:51Limitations of graph algorithms
  12. 35:19Conclusion and key takeaways
~/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.