Changeset 451 for cpp


Ignore:
Timestamp:
11/29/15 18:04:54 (8 years ago)
Author:
oriona
Message:

Unused INit commented out. Command line information updated.

Location:
cpp/frams
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/_demos/simil_test.cpp

    r391 r451  
    5151        // too few parameters
    5252        printf("Too few parameters!\n");
    53         printf("Command line: [-names] <genotypesFile> <matchType> <w_dP> <w_dDEG> <w_dNEU> <w_dGEO> <ifFUZZY>\n\n");
     53        printf("Command line: [-names] <genotypesFile> <w_dP> <w_dDEG> <w_dNEU> <w_dGEO> \n\n");
    5454        printf("Parameters:\n");
    55         printf(" <genotypesFile> name of a file with genotypes (only f1 format is allowed)\n");
     55        printf(" <genotypesFile> name of a file with genotypes\n");
    5656        printf(" <w_dP> weight of the difference in the number of parts\n");
    5757        printf(" <w_dDEG> weight of the difference in degrees of matched parts\n");
     
    103103        if (nResult != 1)
    104104        {
    105             // <w_dP> is not a number -- error
     105            // <w_dX> is not a number -- error
    106106            printf("%s", params[i]);
    107107            printf(" should be a number\n");
     
    110110        else
    111111        {
    112             // <w_dP> is a number; check if nonnegative
     112            // <w_dX> is a number; check if nonnegative
    113113            if (M.m_adFactors[ i ] < 0.0)
    114114            {
  • cpp/frams/model/similarity/simil_model.cpp

    r362 r451  
    11351135        // UWAGA! Uwzględniamy tylko te Parts, które nie są jeszcze dopasowane
    11361136        // (reszta to byłaby po prostu strata czasu).
    1137         int iDeg, iNeu, iNIt; // ilościowe określenie różnic stopnia, liczby neuronów i połączeń Parts
     1137        int iDeg, iNeu; // ilościowe określenie różnic stopnia, liczby neuronów i połączeń Parts
     1138        //int iNIt;
    11381139        double dGeo; // ilościowe określenie różnic geometrycznych pomiędzy Parts
    11391140        // indeksy konkretnych Parts - indeksy sa ZERO-BASED, choć właściwy dostep
     
    11711172                                   - m_aDegrees[1][ aiKoniecPierwszejGrupy[1] + j ][1]);
    11721173
    1173                         iNIt = abs(m_aDegrees[0][ aiKoniecPierwszejGrupy[0] + i ][2]
    1174                                    - m_aDegrees[1][ aiKoniecPierwszejGrupy[1] + j ][2]);
     1174                        //iNit currently is not a component of distance measure           
     1175                        //iNIt = abs(m_aDegrees[0][ aiKoniecPierwszejGrupy[0] + i ][2]
     1176                        //           - m_aDegrees[1][ aiKoniecPierwszejGrupy[1] + j ][2]);
    11751177
    11761178                        iNeu = abs(m_aDegrees[0][ aiKoniecPierwszejGrupy[0] + i ][3]
Note: See TracChangeset for help on using the changeset viewer.