- Timestamp:
- 01/11/12 15:07:10 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FitnessLandscapeAnalysis/VRPProblemAnalyzer/Utils.cs
r7315 r7316 15 15 return points; 16 16 } 17 18 public static double GetDistance(double[,] vertices, int source, int target) { 19 return Math.Sqrt( 20 Math.Pow((vertices[source, 0] - vertices[target, 0]), 2) + 21 Math.Pow((vertices[source, 1] - vertices[target, 1]), 2)); 22 } 17 23 } 18 24 }
Note: See TracChangeset
for help on using the changeset viewer.