yongyanghz / LAPJV-algorithm-c

Jonker-Volgenant / LAPJV algorithm for the linear assignment problem, in C language
32 stars 11 forks source link

Misleading comments in example #4

Closed vchizhov closed 4 years ago

vchizhov commented 4 years ago

The comments in the example are misleading:

// A array to store row solution, 0 means not selected, 1 means selected 
// A array to store column solution, 0 means not selected, 1 means selected 

The arrays contain the picked indices within the row/column (so it is not 0 and 1).

yongyanghz commented 4 years ago

Sorry for my mistake. I have correct the wrong description about rowsol and colsol. Thanks for pointing out.