In this case you would call my_outerspace_loop(n) where n is the maximum number of times you want to allow your algorithm to try to find an appropriate solution. You do not call my_inner_loop directly.
Is that what you meant by “how to call”?
In this case you would call my_outerspace_loop(n) where n is the maximum number of times you want to allow your algorithm to try to find an appropriate solution. You do not call my_inner_loop directly.
Is that what you meant by “how to call”?