For two scene graphs S1(M1,R1) and S2(M2,R2),
where
wt and ws reflect weighting to be given to trajectories and 2D-PIR sequences respectively.