Window Affinity

Given two seller windows: W1,W2 W sub 1 comma W sub 2

Their windows are [ℇi,li] open bracket ℇ sub i comma l sub i close bracket

We calculate the projection of W1 W sub 1 in W2 W sub 2 as:

P P = equals [e1+st1+tt1,2,l1+tt1,2] open bracket e sub 1 plus stones sub 1 plus tt sub 1 comma 2 comma l sub 1 plus tt sub 1 comma 2 close bracket

Then, we intersect the projection with W2 W sub 2

I= I equals P∩W2 P intersection W sub 2

Finally, we measure affinity as a= a equals lI l sub I - eI e sub I, the amount of seconds in the intersection.

Alternatively, we may consider dividing the affinit a a by the tt1,2 tt sub 1 comma 2, representing the amount of affinity seconds per second of travel.