cached_step

cached_step

sorts.simulation.cached_step(caches)[source]

Simulation step caching decorator

Parameters

caches (str) – Is a list of strings for the caches to be used, available by default is “h5” and “pickle”. Custom caches are implemented by implementing methods with the string name but prefixed with load_ and save_.