The saddle-points tests make it seem like you can use any kind of set for your output. However, if you use TreeSet then the tests will fail because MatrixCoordinate doesn't implement Comparable. MatrixCoordinate does now implement Comparable to preent this failure.
|
|
||
| 1 |
|
|
|
|
1 |
|
|
| 2 |
|
2 |
|
| 3 |
|
3 |
|
| 4 |
|
4 |
|
|
|
||
| 30 |
|
30 |
|
| 31 |
|
31 |
|
| 32 |
|
32 |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
| 33 |
|
39 |
|
|
|
||
| 1 |
|
|
|
|
1 |
|
|
| 2 |
|
2 |
|
| 3 |
|
3 |
|
| 4 |
|
4 |
|
|
|
||
| 30 |
|
30 |
|
| 31 |
|
31 |
|
| 32 |
|
32 |
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
| 33 |
|
39 |
|