An efficient stochastic process discovery framework based on optimization | Synapse