Editorial/Data Protection
Protocols of Progress
In order to get an insight into an algorithm, the user may activate a protocol mechansim with different grades of detail. By means of these reports, the user can trace the operations and follow the steps to find a solution.

The following command generates a printout that is partly shown in the facing column.

Funktionsaufruf mit Protokoll

...

------------------------------------------
BipartiteMatchingsHungarianMethod: Matrix

...

Take 3 lines to cover rows with {1, 0, 0, 0} and columns with {1, 1, 0, 0}

Smallest uncovered value 1.

Zero elements of reduced cost matrix: {{1, 3}, {1, 4}, {2, 2}, {2, 3}, {3, 1}, {3, 2}, {4, 1}}

Remaining zero elements of reduced cost matrix: {{2, 2}, {2, 3}, {3, 1}, {3, 2}, {4, 1}}

Remaining zero elements of reduced cost matrix: {{3, 1}, {3, 2}, {4, 1}}

Remaining zero elements of reduced cost matrix: {{4, 1}}

Remaining zero elements of reduced cost matrix: {{0, 0}}

...

Unique total cost of 20. by assignments: {{1, 4}, {2, 3}, {3, 2}, {4, 1}}

BipartiteMatchingsHungarianMethod: Matrix

------------------------------------------

...

Editorial/Data Protection • page checked on Nov. 28th 2005