Graphs in Rust: What is a Graph? Representing them in Rust.

preview_player
Показать описание
This time, we'll talk about graphs as both a useful modelling abstraction, and as a data structure we can implement in Rust, using several real-world examples.

More of my Rust-related content:

Chapters
0:00 Intro
0:28 Examples & Terminology
3:49 Representation Requirements
4:14 Graph Data Structure
6:00 Graph Creation API
7:18 Maze as Graph
8:39 Undirected Subway Graph
9:20 push_undirected_edge
9:42 Fowler-Noll-Vo Hash Map
10:34 Outro.
Рекомендации по теме
Комментарии
Автор

Rust + graphs + Rust-specific optimizations like FNV & alike = rather promising combination in many scenarios. Thanks for the video!

maksymsurzhynskyi
Автор

So cool, thank you) I been waiting new videos about graphs repr. in rust! Hello from Russia !)

arsnazzz
Автор

in the definition for the graph sturct, what does E=() and V=() mean? (in Graph<Vid, E=(), V=()> ). I have only seen definitions like Graph<Vid, E, V>.

emmanueltd
Автор

Wow love this!
Is this how one would represent data in a graph database written in rust?

NeotenicApe
Автор

I am also interested in this to know how to store a graph in SQL DB

bohdanivanchenko