A row (i, j) in the resulting matrix means that df[i,]
is better than df[j,]
with regard to the preference p
.
The matrix is the transitive reduction (Hasse diagram) of the induced relations,
i.e., if (1,2) and (2,3) occur in the result, then (1,3) will not be contained.
The number of rows in the result depends on the number of non-transitive Better-Than-Relationships in df
w.r.t. p
.