postprocessor.core.functions.tracks.get_dMetric

postprocessor.core.functions.tracks.get_dMetric(pre: List[float], post: List[float], tol: Union[float, int] = 1)

Calculate a cost matrix

input :param pre: list of floats with edges on left :param post: list of floats with edges on right :param tol: int or float if int metrics of tolerance, if float fraction

returns :: list of indices corresponding to the best solutions for matrices