Changeset 362 for cpp/frams/model


Ignore:
Timestamp:
04/18/15 17:58:45 (5 years ago)
Author:
Maciej Komosinski
Message:

Restored object descriptions/docs that were lost

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/similarity/simil_model.cpp

    r361 r362  
    3030
    3131static ParamEntry MSparam_tab[] = {
    32     {"Genetics: Similarity", 1, 5,"ModelSimilarity"},
    33     {"simil_parts", 0, 0, "Weight of parts count", "f 0 100 0", FIELD(m_adFactors[0]), "",},
     32    {"Creature: Similarity", 1, 5, "ModelSimilarity", "Evaluates morphological dissimilarity. More information:\nhttp://www.framsticks.com/node/795\nhttp://www.framsticks.com/node/890", },
     33    {"simil_parts", 0, 0, "Weight of parts count", "f 0 100 0", FIELD(m_adFactors[0]), "Differing number of parts is also handled by the 'part degree' similarity component.",},
    3434    {"simil_partdeg", 0, 0, "Weight of parts' degree", "f 0 100 1", FIELD(m_adFactors[1]), "",},
    3535    {"simil_neuro", 0, 0, "Weight of neurons count", "f 0 100 0.1", FIELD(m_adFactors[2]), "",},
     
    4949ModelSimil::ModelSimil() : localpar(MSparam_tab, this), m_iDV(0), m_iDD(0), m_iDN(0), m_dDG(0.0)
    5050{
    51     // weights for the similarty formula
    52     m_adFactors[0] = 0;
    53     m_adFactors[1] = 1;
    54     m_adFactors[2] = 0.1;
    55     m_adFactors[3] = 0;
     51    localpar.setDefault();
    5652
    5753    m_Gen[0] = NULL;
     
    6965    m_pMatching = NULL;
    7066
    71     //determines wheter "fuzzy vertex degree" should be used
    72     //currently "fuzzy vertex degree" is inactive
     67    //Determines whether "fuzzy vertex degree" should be used.
     68    //Currently "fuzzy vertex degree" is inactive.
    7369    isFuzzy = 0;
    7470    fuzzyDepth = 10;
Note: See TracChangeset for help on using the changeset viewer.