build the base vector
The entire graph may have
a -> x,y
b -> x
z -> b
y -> z
y -> w
w -> x
root = [ a, b ]
base = [ a, b, y, z ]
We are ignoring becase they are outside of our base
y -> w
w -> x
update the referential integrity for a particular point
get all q that points to p
q1 -> p
q2 -> p
q3 -> p
and all r that p points to
r1 -> p
r2 -> p
then apply the following:
RI(q1)*Age(p,q1) + ...