rbo
rbo copied to clipboard
evaluation depth goes only to min length
In your implementation the loop only goes to
k = min(self.N_S, self.N_T, k)
However, I think it should go to the maximum. For example $S=[1,2,3,4]$ and $T=[2]$ results in $rbo = 0$ in your implementation, although there clearly is an overlap at depth 2.
You would have an obvious out of range error, as you would try to access elements from the smaller lists at positions that do not exist.