def get_relation_type(x, y, outranking):
    """Determines an exact type of relation for (x, y) based on the outranking
    relation produced by the 'cutRelationCrisp' module.
    """
    if outranking[x][y] and outranking[y][x]:
        relation = 'indifference'
    elif outranking[x][y] and not outranking[y][x]:
        relation = 'preference'
    elif not outranking[x][y] and not outranking[y][x]:
        relation = 'incomparability'
    else:
        relation = None
    return relation