Changeset 14090 for branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/MultiObjectiveTestfunctionTests
- Timestamp:
- 07/15/16 19:27:12 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Problems.MultiObjectiveTestFunctions/MultiObjectiveTestfunctionTests/CrowdingTest.cs
r14081 r14090 103 103 point3[1] = 2; 104 104 double[][] front = { point, point1, point2, point3 }; 105 double dist = Crowding.Calculate(front, new double[,] { { 0, 2 }, { 0, 1} });106 Assert.AreEqual( 4.5, dist);105 double dist = Crowding.Calculate(front, new double[,] { { 0, 4 }, { 0, 2 } }); 106 Assert.AreEqual(1.5, dist); 107 107 } 108 108
Note: See TracChangeset
for help on using the changeset viewer.