PolyphaseDistanceResult.cs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. using System;
  2. using System.Collections;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PaintDotNet.GeneralAnalysis.AnalysisResultTemplate
  8. {
  9. class PolyphaseDistanceLineResult
  10. {
  11. public int LineID { get; set; }
  12. public Hashtable PointIDs { get; set; }
  13. public PolyphaseDistanceLineResult()
  14. {
  15. PointIDs = new Hashtable();
  16. }
  17. }
  18. class PolyphaseDistanceResult
  19. {
  20. public String GraphName;
  21. public double AvgDistince;
  22. public double Fc;
  23. public int Count;
  24. public double medianAvr;
  25. public PolyphaseDistanceResult()
  26. {
  27. }
  28. public PolyphaseDistanceResult(String graphName,double avgDistince,double fc,int count)
  29. {
  30. this.GraphName = graphName;
  31. this.AvgDistince = avgDistince;
  32. this.Fc = fc;
  33. this.Count = count;
  34. }
  35. public PolyphaseDistanceResult(String graphName, double avgDistince, double fc, int count,double medianAvr)
  36. {
  37. this.GraphName = graphName;
  38. this.AvgDistince = avgDistince;
  39. this.Fc = fc;
  40. this.Count = count;
  41. this.medianAvr = medianAvr;
  42. }
  43. }
  44. }