The custom stopping criterion creation example.
