postprocessor.core.functions.tracks.get_dMetric¶
- get_dMetric(pre, post, tol=1)[source]¶
Calculate a cost matrix
input :type pre:
List[float] :param pre: list of floats with edges on left :type post:List[float] :param post: list of floats with edges on right :type tol:Union[float,int] :param tol: int or float if int metrics of tolerance, if float fractionreturns :: list of indices corresponding to the best solutions for matrices