def same_qr(marker1, marker2):
    
    dist = distance(marker1.center, marker2.center)     
    height = float(max([marker1.height, marker2.height]))
    width  = float(max([marker1.width, marker2.width]))

    dx = abs(marker1.x - marker2.x) 
    dy = abs(marker1.y - marker2.y)
    
    vert_upper_range  = 1.5 <= float(abs(dy/height )) <= 2.5
    horiz_upper_range = 1.5 <= float(abs(dx/width )) <= 2.5
    
    vert_lower_range = 0 <= float(abs(dy/height )) <= .5
    horiz_lower_range = 0 <= float(abs(dx/width )) <= .5
    
    
    #truth table:
    if (vert_upper_range and horiz_lower_range):
        return True
    elif (horiz_upper_range and vert_lower_range):
        return True
    elif (horiz_upper_range and vert_upper_range):
        return True
    else:
        return False

#idk if we should use this
Return the number of edges between two nodes.
dataset/ETHPy150Open IEEERobotics/bot/bot/hardware/complex_hardware/partial_qr.py/same_qr--crossover with--dataset/ETHPy150Open networkx/networkx/networkx/classes/multigraph.py/MultiGraph.number_of_edges