OpenPisco.MuscatExtentions.PartitionRefining module#
This module displays a technique called Partition refinement https://en.wikipedia.org/wiki/Partition_refinement
- class OpenPisco.MuscatExtentions.PartitionRefining.PartitionRefining(cellsByGroupnumber: Dict, cells: Union[ndarray, List[int]])[source]#
Bases:
objectClass display a technique representing a partition of a set as a data structure that allows the partition to be refined by splitting its sets into a larger number of smaller sets. From here onwards we denote by a family an elementary set, meaning that a so-called group must be the union of several families.
- ExecutePartitioning()[source]#
Implementation of the algorithm
Provide a partition of the original set by updating it, cellsByFamily, in a larger number of smaller disjoints sets (minimum required to describe the groups) Provide the association between each family and the groups that contain them by updating groupsByFamily