Graph Representation with an Adjacency Matrix | Graph Theory, Adjaceny Matrices
How do we represent graphs using adjacency matrices? That is the subject of today’s graph theory lesson! We will take a graph and use an adjacency matrix to represent it! It is a most soulless, but at times useful, graph representation.
An adjacency matrix has a row and a column for each vertex in the graph it represents. If the vertex represented by row i is adjacent to the vertex represented by column j, then the entry in the i-th row and j-th column is a 1, otherwise it is a 0. Thus, we can find the degree of a vertex by adding up all the entries in the row or column that represents it!
If an adjacency matrix represents a simple graph, then it will have 0s along its diagonal since a vertex cannot be adjacent to itself (this is assuming you construct the matrix so that the vertices are represented by rows in the same order that they are in the columns). Also, if a graph is undirected, then the adjacency matrix that represents it will be symmetric (meaning it is symmetric acros
1 view
131
27
3 months ago 00:26:54 1
How Your Brain Organizes Information
3 months ago 00:04:58 1
Graph Representation with an Adjacency Matrix | Graph Theory, Adjaceny Matrices
4 months ago 00:16:17 1
A* Search: How Your Map Applications Find Shortest Routes
8 months ago 00:01:01 1
Kimera + Hydra Baseline (from MIT Spark)
9 months ago 00:01:19 7
Same Stats, Different Graphs - CHI 2017
9 months ago 00:32:57 1
Building Recommender System with GNN - Part1: Intro to GNN
9 months ago 00:15:41 1
📊 How to Create & Customize Charts Graphs in WordPress Websites For Free: Chartify Tutorial
11 months ago 00:27:49 1
L’organisation de la Gendarmerie Nationale !
11 months ago 00:08:10 1
Les grades de la Gendarmerie Nationale !
11 months ago 00:30:55 1
“Global Depression by 2025“ - Simon Hunt
11 months ago 00:59:46 1
Understanding Oversmoothing in Graph Neural Networks (GNNs): Insights from Two Theoretical Studies