Changeset 1046 for cpp/frams/model/similarity/measure-distribution.cpp
- Timestamp:
- 12/11/20 21:26:48 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/model/similarity/measure-distribution.cpp
r1044 r1046 9 9 #include <iostream> 10 10 11 #define PI 3.141592653512 13 11 #define FIELDSTRUCT SimilMeasureDistribution 14 12 … … 18 16 { "simil_bin_num", 0, 0, "Number of bins", "d 1 1000 128", FIELD(bin_num), "", }, 19 17 { "simil_samples_num", 0, 0, "Number of samples", "d 1 1048576 1048576", FIELD(samples_num), "", }, 20 { "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.", },18 { "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.", }, 21 19 { 0, }, 22 20 }; … … 88 86 89 87 //Create histogram 90 float hist[bin_num] = {};88 vector<float> hist(bin_num); 91 89 int ind = 0; 92 90
Note: See TracChangeset
for help on using the changeset viewer.