friendlysam.parts.Cluster.consumption

Cluster.consumption

A dictionary of consumption functions.

Each key in the dictionary is a resource, and the value is a function, taking one argument index, returning the consumption at that index.