Comparision weights functions.