chemart / disperser
View on GitHubChemical disperser (load balancing) — A distributed algorithm that happens to be a chemistry. Each network node holds a species whose concentration is its workload, and each directed link carries a catalyst that converts a job at one end into a job at the ot…
Chemical disperser (load balancing)
One of the artificial chemistries of Banzhaf & Yamamoto, Artificial Chemistries (MIT Press, 2015), §17.3.1; appendix (Disperser.py); first proposed by Meyer & Tschudin, 2009.
Its generator ships with the chemart library, so loading it runs no code from the hub and needs no trust_remote_code.
import chemart
net = chemart.generate_network("chemart/disperser", seed=0) # same as "disperser"
print(net.summary())