pyphi.cost.MechanismWorkload#

class pyphi.cost.MechanismWorkload(units, max_repertoire_cells)[source]#

Bases: object

One mechanism’s scoped workload and peak-memory driver.

units counts purview evaluations plus mechanism-partition sweeps; max_repertoire_cells is the state-space size of the largest scoped purview (the product of its units’ state counts), which sets the mechanism’s peak repertoire memory.

Parameters:
  • units (int)

  • max_repertoire_cells (int)