Composition Operations

Composition operations combine sequences from multiple Pools into a single Pool. join concatenates parent sequences end-to-end into a composite sequence, while stack merges multiple Pools into one Pool whose state space is the disjoint union of all inputs.

import poolparty as pp
pp.init()

join

Concatenate a list of pools end-to-end into a single composite pool.

stack

Combine multiple pools by stacking their state spaces (also available as +).