Yes, the Melnikov distance function is an approximation based on order $\epsilon $ perturbation calculations.