def co_rating():
    """
    min(Rup, Ruq)
    get the min weight of item rating between item p and item q
    :return:
    """

def pair_count():
    """
    Σ min(Rup, Ruq)
    caculate
    :return:
    """