OpenPisco.MuscatExtentions.PartitionRefining module#

OpenPisco.MuscatExtentions.PartitionRefining.CheckIntegrity()[source]#
class OpenPisco.MuscatExtentions.PartitionRefining.PartitionRefining(cells_by_groupnumber, cells)[source]#

Bases: object

class PartitionRefining#

Class 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, cells_by_family, 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 groups_by_family

GetCellsByFamily()[source]#
GetCellsByFamily()[source]#

Retrieve association between groups and cells

GetGroupsByFamily()[source]#
GetGroupsByFamily()[source]#

Retrieve association between groups and family