Department of Computing

Local Navigation

Practical Week 11
Objectives: To understand more about graphs.
  1. Submit Program

  2. Write the following functions and use them in a program which reads in a graph represented as an adjacency matrix and calls the functions.
    1. Write a function which when passed the adjacency matrix displays the vertices in breadth first order.
    2. Write a function which when passed the adjacency matrix will return the number of edges.

    [an error occurred while processing this directive]


    Computing | Division ICS | Macquarie University

    Last Modified:
    Copyright Macquarie University
    CRICOS provider no. 00002J