
Chapter 6
The Clustering Library
The clustering library ClusLib is a collection of C++ components and cluster-
ing algorithms developed in this book. ClusLib attempts to extract commonal-
ities of data clustering algorithms and decompose them into components that
can be reused. ClusLib also allows researchers to implement new clustering
algorithms easily.
This chapter introduces the structure of ClusLib. First, we introduce the
organization of the source code of the library. Then, we introduce some config-
uration files used to compile the library. Finally, we introduce error handling
and unit testing of the library.
6.1 Directory Structure and Filenames ...