Home CPSC 340

Lab 10: Complete Graphs


 

Objective

To gain experience with graphs.


 

Task

Recall that a complete graph is one in which every node is connected to every other node by an edge, like this:

The 5 nodes in this graph each have a line to the the other 4 nodes
in the graph.

In this lab, you will write a function to test whether or not a graph (based on an adjacency matrix) is complete.


 

Details


 

Submitting

When you are finished, please upload your code to the Canvas page for this assignment.

Copyright © 2024 Ian Finlayson | Licensed under a Creative Commons BY-NC-SA 4.0 License.