Incentive Design Patterns and Stigmergic Optimization