Class PartitionIntersection

Class Documentation

class PartitionIntersection

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.

Public Functions

Partition calculate(const Partition &zeta, const Partition &eta)

Calculate the intersection of two partitions zeta and eta

Parameters:
  • zeta – The first partition

  • eta – The second partition

Returns:

The intersection of zeta and eta