pyphi.partition#
Utilities for generating partitions.
Functions
|
Yield every edge cut on the given nodes (with the complete cut). |
|
Return all possible partitions of a mechanism and purview. |
|
Return the partition that isolates every element. |
|
Yield every bidirectional (symmetric) edge cut on the given nodes. |
|
Return a list of bipartitions for a sequence. |
Return indices for undirected bipartitions of a sequence. |
|
|
Generate bipartitions where one part contains exactly one element. |
|
Return the partition that disconnects mechanism and purview entirely. |
|
Return a list of directed bipartitions for a sequence. |
Return indices for directed bipartitions of a sequence. |
|
Generate directed bipartitions where one part is of length 1. |
|
|
Yield every nontrivial directed bipartition of the given nodes. |
Yield directed bipartitions where one part has a single node. |
|
|
Yield directed bipartitions by linearly splitting the node sequence. |
|
Yield every directed set partition of the given nodes. |
Generator over all directed tripartitions of a sequence. |
|
Return indices for directed tripartitions of a sequence. |
|
|
Return a generator of all φ bipartitions of a mechanism over a purview. |
|
Generate all |
|
Return a generator over all mechanism-purview partitions, based on the current configuration. |
Return the number of possible edge cuts on |
|
|
Yield each element of |
|
Return the currently configured system partitions for the given nodes. |
|
Return an iterator over all wedge partitions. |
Classes
|
Represents the partition that separates all inter-element connections. |
|
Represents the partition that completely separates mechanism and purview. |
Storage for mechanism-level partition schemes registered with PyPhi. |
|
Storage for system-level partition schemes registered with PyPhi. |