PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: biology

Basic Graph Algorithms - Stanford University

Basic Graph AlgorithmsJaehyun ParkCS 97 SIStanford UniversityJune 29, 2015 OutlineGraphsAdjacency Matrix and Adjacency ListSpecial GraphsDepth-First and Breadth-First SearchTopological SortEulerian CircuitMinimum Spanning Tree (MST)Strongly Connected Components (SCC)Graphs2 Graphs An abstract way of representing connectivity using nodes (alsocalled vertices) and edges We will label the nodes from1ton medges connect some pairs of nodes Edges can be either one-directional (directed) or bidirectional Nodes and edges can have some auxiliary informationGraphs3 Why Study Graphs? Lots of problems formulated and solved in terms of graphs Shortest path problems Network flow problems Matching problems 2-SAT problem Graph coloring problem Traveling Salesman Problem (TSP):still unsolved! and many Matrix and Adjacency ListSpecial GraphsDepth-First and Breadth-First SearchTopological SortEulerian CircuitMinimum Spanning Tree (MST)Strongly Connected Components (SCC)Adjacency Matrix and Adjacency List5 Storing Graphs Need to store both the set of nodesVand the set of edgesE Nodes can be stored in an array Edges must be stored in some other way Want to support operations such as: Retrieving all edges incident to a particular node Testing if given two nodes are directly

Basic Graph Algorithms Jaehyun Park CS 97SI Stanford University June 29, 2015. Outline Graphs Adjacency Matrix and Adjacency List Special Graphs Depth-First and Breadth-First Search Topological Sort Eulerian Circuit ... The most basic graph algorithm that visits nodes of a graph

Tags:

  Basics, Algorithm, Graph, Basic graph algorithms

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Basic Graph Algorithms - Stanford University

Related search queries