|
Cdt - A Discipline and Method Library for Container Data TypesKiem-Phong VoCdt is a library for container data types. It provides a uniform interface to manage objects in dictionaries based on the storage methods: list, stack, queue, ordered set/multiset, and unordered set/multiset. Each dictionary has an application-defined discipline and a library-provided method. A Cdt discipline defines object attributes such as how to compare them or how they should be accessed. This can be used to create set-like dictionaries, i.e., objects addressed by comparisons, map-like dictionaries, i.e., objects addressed by keys, and shared dictionaries, i.e., the same objects in multiple dictionaries. A Cdt method defines the data structures and algorithms used to store and efficiently access objects based on their defined attributes. The current set of methods include:
Cdt can be used with the Vmalloc memory allocation library to build persistent dictionaries based on memory mapping. An example of how to do this is given in the Vmalloc distribution. Below are papers related to Cdt:
Comments/Questions/ProblemsContact Phong Vo at: kpv@research.att.com.Except for configuration problems in building the package, a bug report should be in the form of a small program that I can compile and run. Without such a program, I will likely ignore the report since it often takes too much time for me to tell if a reported bug is real or if it's just a misuse of the code. |