Opus5.Demo7

Explanation

This demonstration program tests the following classes: SetAsArray, SetAsBitVector, MultisetAsArray, MultisetAsLinkedList, PartitionAsForest, PartitionAsForestV2, and PartitionAsForestV3.

The source code for the main method is available here.

Instructions

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


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