For example, in Figure 1, traveling from "A photogate" to "photodetector" requires 1 step going up (to reach "is used") and 2 steps going down (via "for"), so the dependency relation is (U p, Down) = (1, 2).
the tuple is represented as a triplet of non-negative integers R f = (N, U p, Down).