Sunday, February 12, 2012

A first encounter with pSwitch

A simulation of a breaking ball (a bouncing ball that splits in two on each bounce, see by Globally parallel, locally sequential Paul and Walid for details) requires that the simulator maintains a dynamic collection of objects representing the balls. AFRP supports this scenario through its parallel switching combinators, but initial attempts to express the breaking ball example using pSwitch proved unsuccessful. Adam will continue to familiarize himself with this API aiming for a minimal working example using one of the parallel switching combinators.