CSE 222 Lab #4


Objectives

The Problem

The problem is to complete and carefully test implementations of all the operations of abstract template Partial_Map_Kernel, building the data structure representing a Partial_Map object by layering it on top of abstract templates Binary_Tree_Kernel and Record. The algorithmic approach is to use a binary search tree to reduce search time from linear (as in Partial_Map_Kernel_1) to logarithmic in the number of pairs in the map; at least, there is this reduction in execution time "on average", though not in the worst case.

Method

Here's what to do:

Possible Maintenance Activities

Here are some questions about possible maintenance activities involving this program: Any extra work is strictly optional, for your own benefit, and will not directly affect your grade.