Generalized Minkowski Distancemeasure the similarity or dissimilarity between two Time series by computing the sum of the absolute differencesWhen p is 2Euclidean Distance When p is 1Manhattan Distance When p is Infinity Distance Minkowski distanceThe Minkowski distance or Minkowski metric is a metric in a normed vector space which can be considered as a generalization of both the Euclidean distance and the Manhattan distance. It is named after the Polish mathematician Hermann Minkowski.https://en.wikipedia.org/wiki/Minkowski_distance