Changeset 361 for cpp/frams/model/similarity/simil_model.cpp
- Timestamp:
- 04/18/15 17:31:31 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/similarity/simil_model.cpp
r356 r361 734 734 { 735 735 GetNeighbIndexes(mod, partInd, nIndexes); 736 for (int k = 0; k < (int)nIndexes.size(); k++)736 for (unsigned int k = 0; k < nIndexes.size(); k++) 737 737 { 738 738 newDeg += m_fuzzyNeighb[mod][nIndexes.at(k)][depth - 1]; … … 1722 1722 // wartości orginalne transformacji dOrig uzyskuje się przez: 1723 1723 // for ( iTrans = 0; iTrans <= TRANS_INDEX; iTrans++ ) dOrig *= dMul[ iTrans ]; 1724 //const char *szTransformNames[NO_OF_TRANSFORM] = { "ID", "S_yz", "S_xz", "S_xy", "R180_z", "R180_y", "R180_z", "S_(0,0,0)" }; 1724 1725 const int dMulX[ NO_OF_TRANSFORM ] = {1, -1, -1, 1, -1, 1, -1, -1}; 1725 1726 const int dMulY[ NO_OF_TRANSFORM ] = {1, 1, -1, -1, -1, -1, -1, 1}; 1726 1727 const int dMulZ[ NO_OF_TRANSFORM ] = {1, 1, 1, -1, -1, -1, 1, 1}; 1727 1728 1728 #undef max 1729 #ifdef max 1730 #undef max //this macro would conflict with line below 1731 #endif 1729 1732 double dMinSimValue = std::numeric_limits<double>::max(); // minimum value of similarity 1730 1733 int iMinSimTransform = -1; // index of the transformation with the minimum similarity
Note: See TracChangeset
for help on using the changeset viewer.