The simulate function creates a new Simulator for the given algorithm::Algorithm.
simulate
Simulator
algorithm::Algorithm