For two graphs G1(V1, R1) and G2(V2, R2)
where
2D-PIR distance based on distances of component relationships.
For two 2D-PIRs Rs,1 = (t1,xp1,yp1) and Rs,2 = (t2,xp2,yp2)