This function is called for every thread once before executing the algorithm. This is to allow once in each supervisor thread, to initialize the custom policy, and allows developers to do pre- initialization such as opening a database or loading information from a file.