Namespaces | Functions

src/partition.cpp File Reference

#include "partition.h"
#include <iostream>
#include <iterator>
#include <map>
#include <cassert>
#include <algorithm>
#include "counter.h"
#include "stl_utils.h"
Include dependency graph for partition.cpp:

Go to the source code of this file.

Namespaces

namespace  cluster
 

Namespace for everything in the cluster library.


Functions

ostream & operator<< (ostream &out, const cluster_list &clusters)
double mirkin_distance (const cluster_list &c1, const cluster_list &c2)
 Mirkin distance bt/w two clusterings.
std::ostream & operator<< (std::ostream &out, const partition &km)
 For convenience.
double mirkin_distance (const partition &c1, const partition &c2)
 Convenience overload for comparing partition objects directly.
void expand (cluster_list &list, size_t level=1)
 Expand a cluster_list by l levels.

Detailed Description

Author:
Todd Gamblin tgamblin@llnl.gov

Definition in file partition.cpp.

Muster. Copyright © 2010, Lawrence Livermore National Laboratory, LLNL-CODE-433662.
Distribution of Muster and its documentation is subject to terms of the Muster LICENSE.
Generated on Mon Dec 20 2010 using Doxygen 1.7.2