0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
const int range=500;
^
0_0_19111373_16027.cpp:14:20: error: from this location
bool binaryMap[range][range];
^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
const int range=500;
^
0_0_19111373_16027.cpp:14:27: error: from this location
bool binaryMap[range][range];
^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
const int range=500;
^
0_0_19111373_16027.cpp:15:22: error: from this location
bool YNodeIsMask[range];
^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
const int range=500;
^
0_0_19111373_16027.cpp:17:16: error: from this location
int XMatch[range];
^
0_0_19111373_16027.cpp:9:21: error: invalid use of non-static data member 'HungarianAlgorithm::range'
const int range=500;
^
0_0_19111373_16027.cpp:18:16: error: from this location
int YMatch[range];
^
0_0_19111373_16027.cpp: In member function 'void HungarianAlgorithm::setAllNodeUnmatch()':
0_0_19111373_16027.cpp:23:13: error: 'XMatch' was not declared in this scope
XMatch[i]=UNMATCH;
^
0_0_19111373_16027.cpp:25:13: error: 'YMatch' was not declared in this scope
YMatch[i]=UNMATCH;
^
0_0_19111373_16027.cpp: In member function 'void HungarianAlgorithm::setYNodeUnmask()':
0_0_19111373_16027.cpp:32:13: error: 'YNodeIsMask' was not declared in this scope
YNodeIsMask[i]=UNMASK;
^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::findPath(int)':
0_0_19111373_16027.cpp:40:16: error: 'binaryMap' was not declared in this scope
if(binaryMap[XNode][i]&&YNodeIsMask[i]==UNMASK)
^
0_0_19111373_16027.cpp:40:37: error: 'YNodeIsMask' was not declared in this scope
if(binaryMap[XNode][i]&&YNodeIsMask[i]==UNMASK)
^
0_0_19111373_16027.cpp:43:20: error: 'YMatch' was not declared in this scope
if(YMatch[i]==UNMATCH||findPath(YMatch[i]))
^
0_0_19111373_16027.cpp:46:21: error: 'XMatch' was not declared in this scope
XMatch[XNode]=i;
^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::maxMatch()':
0_0_19111373_16027.cpp:63:16: error: 'XMatch' was not declared in this scope
if(XMatch[i]==UNMATCH)
^
0_0_19111373_16027.cpp: In member function 'int HungarianAlgorithm::addAvailableMatch(int, int)':
0_0_19111373_16027.cpp:74:9: error: 'binaryMap' was not declared in this scope
binaryMap[XNode][YNode]=1;
^
0_0_19111373_16027.cpp: In constructor 'HungarianAlgorithm::HungarianAlgorithm(int, int)':
0_0_19111373_16027.cpp:80:16: error: 'binaryMap' was not declared in this scope
memset(binaryMap,0,sizeof(binaryMap));
^
|