Skip to content

Sort Remaining Columns

bocchino edited this page Oct 6, 2021 · 2 revisions

Input

A column vector D with the instances and ports in the first column vertically sorted

Output

D with the remaining columns vertically sorted

Procedure

Same as for Sort First Column, except for the following:

  • When computing scores, examine the input port vectors, and use the ranks of the output ports to which they are connected. Since an input port in general can be connected to a set of output ports, we take the min and max over a set of scores.

  • When computing ranks, start at zero for each column.

Clone this wiki locally