- Timestamp:
- 03/19/17 18:47:00 (8 years ago)
- Location:
- branches/TSNE/HeuristicLab.Algorithms.DataAnalysis/3.4/Interfaces/TSNEInterfaces
- Files:
-
- 3 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/TSNE/HeuristicLab.Algorithms.DataAnalysis/3.4/Interfaces/TSNEInterfaces/IDistance.cs
r14512 r14767 26 26 public interface IDistance<in T> : IItem { 27 27 /// <summary> 28 /// Calculates a distance measure between two arbitrary Vectors. The distance value d is29 /// 1.) positive d(x,y)>=028 /// Calculates a distance measure between two objects. 29 /// 1.) non-negative d(x,y) >= 0 30 30 /// 2.) symmetric d(x,y) = d(y,x) 31 /// 3.) zero-reflexive d(x,x) = 0;31 /// 3.) zero-reflexive d(x,x) = 0; 32 32 /// </summary> 33 /// <param name="a">an array representing point x</param>34 /// <param name="b">>an array representing point y</param>35 33 /// <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); 47 35 48 36 /// <summary>
Note: See TracChangeset
for help on using the changeset viewer.