Skip to contents

Grid partitions

Enumerate or count all connected partitions of a rectangular grid within given piece-size bounds.

enum_partitions()
Enumerate grid partitions
enum_count_partitions()
Count grid partitions

Graph partitions

Enumerate or count all connected partitions of an arbitrary graph within given piece-size bounds. Accepts igraph and adj objects.

enum_partitions_graph()
Enumerate partitions of a graph
enum_count_partitions_graph()
Count partitions of a graph

File I/O

Read partitions written to a binary file by enum_partitions() or enum_partitions_graph().

enum_read_partitions()
Read partitions from a binary file