Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/19/17 18:47:00 (7 years ago)
Author:
gkronber
Message:

#2700: made some changes while reviewing the code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/TSNE/HeuristicLab.Algorithms.DataAnalysis/3.4/Interfaces/TSNEInterfaces/IDistance.cs

    r14512 r14767  
    2626  public interface IDistance<in T> : IItem {
    2727    /// <summary>
    28     /// Calculates a distance measure between two arbitrary Vectors. The distance value d is
    29     /// 1.) positive  d(x,y)>=0
     28    /// Calculates a distance measure between two objects.
     29    /// 1.) non-negative d(x,y) >= 0
    3030    /// 2.) symmetric d(x,y) = d(y,x)
    31     /// 3.) zero-reflexive d(x,x) =0;
     31    /// 3.) zero-reflexive d(x,x) = 0;
    3232    /// </summary>
    33     /// <param name="a">an array representing point x</param>
    34     /// <param name="b">>an array representing point y</param>
    3533    /// <returns>d(x,y)</returns>
    36     double Get(T a, T b);
    37 
    38     /// <summary>
    39     /// Calculates the correct kernel measure if it is smaller than threshold, but any value greater then threshold if the correct distance is greater.
    40     /// This is for performace only
    41     /// </summary>
    42     /// <param name="a"></param>
    43     /// <param name="b"></param>
    44     /// <param name="threshold"></param>
    45     /// <returns></returns>
    46     double Get(T a, T b, double threshold);
     34    double Get(T x, T y);
    4735
    4836    /// <summary>
Note: See TracChangeset for help on using the changeset viewer.