Opus5.Demo10

Explanation

This demonstration program tests the following classes: GraphAsMatrix, GraphAsLists, DigraphAsMatrix, and DigraphAsLists.

The source code for the main method is available here.

Instructions

This is a non-interactive program that creates several graphs, performs various operations on those graphs, and prints the results.


Bruno
Copyright © 1999 by Bruno R. Preiss, P.Eng. All rights reserved.