//constructor
 public DoubleFeature(DistanceMetric distanceMetric, Double value)
 {
     this.distanceMetric = distanceMetric;
     this.attributeValue = value;
 }
Esempio n. 2
0
 //constructor
 public ComplexFeature(DistanceMetric metric)
 {
     //check distance metric is not null
     childFeatures       = new List <Feature>();
     this.distanceMetric = metric;
 }