Learn Before
Concept
Incidence Matrix
An incidence matrix has a row for every vertex of the graph and a column for each edge of the graph. In an undirected graph, the element M [x,y] of a matrix M is 1 if the vertex x is a vertex of the y edge and is 0 in all other cases. In a directed graph, the element M [x,y] of a matrix M is 1 if vertex x is an initial vertex to the edge y, -1 if vertex x is a terminal vertex to edge y, and 0 for all other cases.
0
1
Updated 2021-06-08
Tags
Python Programming Language
Data Science