Function to count the number of partitions with a certain group size structure, for all possible group size structure. Function to use after calling the "find_all_partitions" function.
Function to count the number of partitions with a certain group size structure, for all possible group size structure. Function to use after calling the "find_all_partitions" function.
count_classes(allpartitions)
Arguments
allpartitions: matrix containing all possible partitions for a nodeset
Returns
integer(number of partitions with different group structures)