Changeset 362 for cpp/frams/model/similarity
- Timestamp:
- 04/18/15 17:58:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/similarity/simil_model.cpp
r361 r362 30 30 31 31 static 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.",}, 34 34 {"simil_partdeg", 0, 0, "Weight of parts' degree", "f 0 100 1", FIELD(m_adFactors[1]), "",}, 35 35 {"simil_neuro", 0, 0, "Weight of neurons count", "f 0 100 0.1", FIELD(m_adFactors[2]), "",}, … … 49 49 ModelSimil::ModelSimil() : localpar(MSparam_tab, this), m_iDV(0), m_iDD(0), m_iDN(0), m_dDG(0.0) 50 50 { 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(); 56 52 57 53 m_Gen[0] = NULL; … … 69 65 m_pMatching = NULL; 70 66 71 // determines wheter "fuzzy vertex degree" should be used72 // currently "fuzzy vertex degree" is inactive67 //Determines whether "fuzzy vertex degree" should be used. 68 //Currently "fuzzy vertex degree" is inactive. 73 69 isFuzzy = 0; 74 70 fuzzyDepth = 10;
Note: See TracChangeset
for help on using the changeset viewer.