Study the interleaving distance on Rd-mapper graphs using loss functions to compute distances efficiently.