Compute the adjacency matrix of a graph.
[A] = NARVAL_G_AdjacencyMatrix(g)
graph.
adjacencency matrix.
NARVAL_G_AdjacencyMatrix computes the adjacency matrix A of the graph g. By definition, the adjacency matrix of a finite graph of size n is the {n x n} matrix where the non-diagonal component Aij rates 1 is there is an edge between the nodes i and j (0 otherwise).
Dr. Foued Melakessou
Research Associate
Interdisciplinary Centre for Security, Reliability and Trust
Room F106
University of Luxembourg
6, rue Coudenhove Kalergi
L-1359 Luxembourg-Kirchberg
E-mail: foued.melakessou@uni.lu
Tel: (+352) 46 66 44 5346