Text this: Algorithm model and execution based on Petri Nets in an heterogeneous parallel computer