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
6 months ago 00:01:01 1
Kimera + Hydra Baseline (from MIT Spark)
7 months ago 00:01:19 6
Same Stats, Different Graphs - CHI 2017
7 months ago 00:32:57 1
Building Recommender System with GNN - Part1: Intro to GNN
7 months ago 01:05:47 1
Accelerating Scientific Discovery by Markus J. Buehler
8 months ago 00:15:41 1
📊 How to Create & Customize Charts Graphs in WordPress Websites For Free: Chartify Tutorial
9 months ago 00:27:49 1
L’organisation de la Gendarmerie Nationale !
9 months ago 00:08:10 1
Les grades de la Gendarmerie Nationale !
9 months ago 00:30:55 1
“Global Depression by 2025“ - Simon Hunt
9 months ago 00:03:38 1
The Bloop: A Mysterious Sound from the Deep Ocean | NOAA SOSUS
9 months ago 00:59:46 1
Understanding Oversmoothing in Graph Neural Networks (GNNs): Insights from Two Theoretical Studies