All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
NetworKit::PartitionIntersection Class Reference

Class for calculating the intersection of two partitions, i.e. More...

#include <PartitionIntersection.h>

Public Member Functions

Partition calculate (const Partition &zeta, const Partition &eta)
 Calculate the intersection of two partitions zeta and eta. More...
 

Detailed Description

Class for calculating the intersection of two partitions, i.e.

the clustering with the fewest clusters such that each cluster is a subset of a cluster in both partitions.

Member Function Documentation

NetworKit::Partition NetworKit::PartitionIntersection::calculate ( const Partition zeta,
const Partition eta 
)

Calculate the intersection of two partitions zeta and eta.

Parameters
zetaThe first partition
etaThe second partition
Returns
The intersection of zeta and eta

The documentation for this class was generated from the following files: