HungarianHandleInit
Function Usage
Initializes the matching matrix diagram of the Hungarian algorithm.
Prototype
1 | APP_ERROR HungarianHandleInit(HungarianHandle &handle, int row, int cols); |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
handle |
Input |
Structure dedicated for the Hungarian algorithm. |
row |
Input |
Number of rows in the matching matrix of the Hungarian algorithm. Value range: (0, 8192] |
cols |
Input |
Number of columns in the matching matrix of the Hungarian algorithm. Value range: (0, 8192] |
Response Parameters
Data Structure |
Description |
|---|---|
APP_ERROR |
For details about the returned error codes, see APP_ERROR Description. |
Parent topic: Hungarian