find_all_partitions {ERPM}R Documentation

Function to enumerate all possible partitions for a given n

Description

Function to enumerate all possible partitions for a given n

Usage

find_all_partitions(n)

Arguments

n

number of nodes

Value

matrix where each line corresponds to a possible partition

Examples

n <- 6
all_partitions <- find_all_partitions(n)


[Package ERPM version 0.2.0 Index]