Changeset 356 for cpp/frams/model/similarity/simil_model.cpp
- Timestamp:
- 04/18/15 16:29:10 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/similarity/simil_model.cpp
-
Property
svn:eol-style
set to
native
r352 r356 30 30 31 31 static ParamEntry MSparam_tab[] = { 32 {"Genetics: Similarity", 1, 5, },33 {"simil_parts", 0, 0, "Weight of parts count", "f 0 100 5", FIELD(m_adFactors[0]), "",},32 {"Genetics: Similarity", 1, 5,"ModelSimilarity"}, 33 {"simil_parts", 0, 0, "Weight of parts count", "f 0 100 0", FIELD(m_adFactors[0]), "",}, 34 34 {"simil_partdeg", 0, 0, "Weight of parts' degree", "f 0 100 1", FIELD(m_adFactors[1]), "",}, 35 {"simil_neuro", 0, 0, "Weight of neurons count", "f 0 100 0. 5", FIELD(m_adFactors[2]), "",},36 {"simil_partgeo ", 0, 0, "Weight of parts' geometric distances", "f 0 100 0", FIELD(m_adFactors[3]), "",},35 {"simil_neuro", 0, 0, "Weight of neurons count", "f 0 100 0.1", FIELD(m_adFactors[2]), "",}, 36 {"simil_partgeom", 0, 0, "Weight of parts' geometric distances", "f 0 100 0", FIELD(m_adFactors[3]), "",}, 37 37 {"evaluateDistance", 0, PARAM_DONTSAVE | PARAM_USERHIDDEN, "evaluate model dissimilarity", "p f(oGeno,oGeno)", PROCEDURE(p_evaldistance), "Calculates dissimilarity between two models created from Geno objects.",}, 38 38 {0,}, … … 47 47 /** Constructor. Sets default weights. Initializes other fields with zeros. 48 48 */ 49 ModelSimil::ModelSimil() : localpar(MSparam_tab, this), m_iDV(0), m_iDD(0), m_iDN(0), 50 m_dDG(0.0) 49 ModelSimil::ModelSimil() : localpar(MSparam_tab, this), m_iDV(0), m_iDD(0), m_iDN(0), m_dDG(0.0) 51 50 { 52 51 // weights for the similarty formula 53 m_adFactors[0] = 5;52 m_adFactors[0] = 0; 54 53 m_adFactors[1] = 1; 55 m_adFactors[2] = 0. 5;56 m_adFactors[3] = 0 .0;54 m_adFactors[2] = 0.1; 55 m_adFactors[3] = 0; 57 56 58 57 m_Gen[0] = NULL; -
Property
svn:eol-style
set to
Note: See TracChangeset
for help on using the changeset viewer.