where xi are the points sampled with the multimodal sampling density,
N is the number of samples,
φ is the multimodal sampling density,
f is the original input distributions density, and
I is an operator that evaluates to 1 if the reliability criteria is satisfied and 0 otherwise. You can specify the initial number of samples, maximum number of samples, and relative tolerance for the importance sampling method.