A trip down memory lane. Graph theory was one of the most interesting topics in my CS education. I hadn't heard of 'dot' at the time.
@user-ol4qd8nx2y3 жыл бұрын
Excellent way to introduce the topic
@aakashs18067 ай бұрын
You can use adjaceny matrix (2d array) adjacency list, compact list for graph representation.
@shaharamoyal9763 жыл бұрын
Outstanding topic and outstanding teacher
@laxmikantbotkewar4057 Жыл бұрын
Hey, I am working on a project related to AST so i wanted to know if there is a way or a tool to convert the AST dump to .dot ?
@sohamjobanputra2914 Жыл бұрын
I relly liked your chennal, please continue making videos, its really helpful and I genuinely loved the dot tool that you showed 😃, actually can you make a video that contains basic introductions to tools like that!!
@seanlowe74432 жыл бұрын
But can it output ASCII? That's the real question. Thank you for the refresher. Good content!
@pierreabbat61573 жыл бұрын
Where do you get the "open" command? I'd have opened the pdf file with okular (which, when programming, I sometimes confuse with okteta).
@lauritzt3 жыл бұрын
On most Linux distributions you can use `xdg-open`.
@embeddedbastler64063 жыл бұрын
@@lauritzt That's the answer. Thanks, this will come handy in future.
@not_ever3 жыл бұрын
I think he might be on a Mac. As Lauritz Thomsen has said, you need to use xdg-open on Linux.
@not_ever3 жыл бұрын
@Yusuf Kazi nice spot. I wasn't sure if he was just one of those people who rice their Linux box to look and feel like MacOS. I think I spend too much time on Reddit
@commitgit58893 жыл бұрын
Please do more tutorials on select and go over poll and epoll. There are not enough resources on these topics imo.
@virtual58193 ай бұрын
3:52 yoda ai'nt rizzin' up enough girls
@RobinLeGaming3 жыл бұрын
The XAudio2 "audio graph" makes way more sense now O.O
@brunooliveirasoares74893 жыл бұрын
Nice topic Would it be suitable for creation of State Machines?
@asnawineoazhar9823 Жыл бұрын
where can I get that shirt
@crusaderanimation69672 жыл бұрын
Me: Searches for infroamtion about Graph D.S. for my interview. Jacob: Done film about it. Me: "A blessing from the lord !"... and Jacob.
@IndronilBanerjee3 жыл бұрын
Thank you very much. Nice topic with beautiful example. Is it possible to dump the output into terminal (in a graphical form) like drawing boxes with curses/ncurses lib?
@JacobSorber3 жыл бұрын
Yes, that would be doable, but also a lot more work, unless someone has written a nice library to do it. Let me know if you find one.
@IndronilBanerjee3 жыл бұрын
Sure, 🙏🏻
@xwaazes63753 жыл бұрын
Trees and linked lists are subsets of graphs?
@casperes09123 жыл бұрын
Yes - sort of. We’d usually call them just trees or lists, but yes
Do you have a specific algorithm, cryptosystem, or use case in mind?
@eniolasonowo89453 жыл бұрын
I started using the data structure for arbitrage, and it makes everything easy
@michaelespinoza45623 жыл бұрын
Hello!!!
@JacobSorber3 жыл бұрын
Hi.
@collinsa89093 жыл бұрын
Never seen a good book on it. It's a rarely used structure that's y major languages don't include it in their libraries
@MalamIbnMalam3 жыл бұрын
Rarely used? Graphs are used in social networking, computer networking, GPS systems for shortest path, etc
@user-ux2kk5vp7m3 жыл бұрын
Trees and Linked Lists are also types of graphs
@MalamIbnMalam3 жыл бұрын
@@user-ux2kk5vp7m linked lists are similar in the fact that they have nodes and edges... However, linked lists are often a sequential data structure. Linked list traversals are often only done forwards(next) and backwards(prev).
@collinsa89093 жыл бұрын
@@MalamIbnMalam the examples you give are niche. Proving my point. Outside of these special cases, there is little need for them. Compared that the use cases for more general structures like lists,sets,maps. Again this is why most mainstream languages don't include them in their libraries.
@collinsa89093 жыл бұрын
@@user-ux2kk5vp7m without stretching the generalization, else we'll call lists and trees graphs without distinction.
@JonnyRobbie3 жыл бұрын
"For a graph, there is not starting point..." ehh...that's a misleading at best and downright wrong and false at worst. The thing to realize is that trees **are** graphs. Tree **is** a type of directed graph. Every tree is a graph and not every graph is a tree. That means that a graph definitely can have a "starting point" - root - if we're talking about a tree.
@ryebr3ad3 жыл бұрын
The graph data structure doesn't have a known starting point
@JacobSorber3 жыл бұрын
Sorry, if I confused you. My point is simply that if you give me a graph, and don't tell me anything about it...you don't, for example, tell me that it's a tree or a list (lists are specialized graphs, too), I can't just infer a starting point. So, yes, in special cases (like trees and lists) there can be a designated starting point, but the graph-ness of those special cases does not tell me what the starting point is.
@antonw81343 жыл бұрын
It doesn’t sound like @JonnyRobbie is confused, they sound more upset that the term “starting point” has no definition in the language that defines graphs. Isn’t it true with graphs any node may be the starting point, so saying they don’t have a starting point isn’t completely true? ;^} Nice use of dot/graphviz though - it’s a great tool that helps students (and non-students) visualize the complexity of graphs and just about every other abstract data type.
@MalamIbnMalam3 жыл бұрын
@@ryebr3ad you mean root node
@MalamIbnMalam3 жыл бұрын
@@antonw8134 yes, on a graph, any node can be the starting point.