Changeset 1073 for cpp


Ignore:
Timestamp:
02/09/21 11:37:27 (4 years ago)
Author:
oriona
Message:

Comments added.

Location:
cpp/frams/model/similarity
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/measure-greedy.cpp

    r1072 r1073  
    147147                        m_iDN += abs(temp);
    148148                        // pobierz polozenie dopasowanego Part
    149                         if (m_adFactors[3] > 0)
     149                        if (m_adFactors[3] > 0) //no need to compute distance when m_dDG weight is 0
    150150                        {
    151151                            Pt3D MatchedPartPos(coordinates[m_iSmaller][iOrgMatchedPart]);
     
    880880        SAFEDELETE(m_pMatching);
    881881       
    882         with_alignment = true;
     882        with_alignment = true; //restore default value
    883883}
    884884
  • cpp/frams/model/similarity/measure-hungarian.cpp

    r1072 r1073  
    130130                min_assignment.clear();
    131131       
    132         with_alignment = true;
     132        with_alignment = true; //restore default value
    133133}
    134134
Note: See TracChangeset for help on using the changeset viewer.