Content deleted Content added
off-topic and badly-sourced WP:PEACOCK in lead |
Change 'Dora' to 'Carol' for the third worker in the example (more common) |
||
Line 8:
=== Example ===
In this simple example, there are three workers: Alice, Bob and
:{| class="wikitable" style="text-align:center;"
! {{diagonal split header|Worker |Task}}
Line 25:
| '''$3'''
|-
!
| $9
| '''$4'''
Line 31:
|}
The Hungarian method, when applied to the above table, would give the minimum cost: this is $15, achieved by having Alice clean the bathroom,
:{| class="wikitable" style="text-align:center;"
! {{diagonal split header|Sweep|Clean}}
! Alice
! Bob
!
|-
! Alice
Line 48:
| $18
|-
!
| '''$15'''
| $16
Line 222:
* First + second + third jobs (15):
* clean bathroom: Alice -> 8
* sweep floors:
* wash windows: Bob -> 3
*/
|