This internal function yields a vector that contains the edges arriving at situations associated with a particular variable for all paths that emanate from the root node and pass through these situations in the event tree.
TruncatedPath(ref, k, var, num.category, num.situation, label.category)