8
Adjacen cy Matrix Prepared by: Eileen M. Pagaduan

Adjacency matrix

  • Upload
    no-name

  • View
    423

  • Download
    2

Embed Size (px)

Citation preview

Page 1: Adjacency matrix

Adjacency Matrix

Prepared by:Eileen M. Pagaduan

Page 2: Adjacency matrix

Adjacency MatrixConnection matrixN x n matrix A= (Aij) in which the entry aij= 1 if there is an edge form vertex i to j and is 0 if there is no edge from vertex i to j.

Matrix with rows and columns labeled by graph vertices with 1 or 0 in position.

Page 3: Adjacency matrix

Adjacency MatrixSimple graph with no loops:

0s on the diagonalUndirected graph: symmetricRepresenting which vertices

(or nodes) of a graph are adjacent to which other vertices.

Page 4: Adjacency matrix

Example:

Page 5: Adjacency matrix
Page 6: Adjacency matrix
Page 7: Adjacency matrix