Changeset 5838 for branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Tests/QAPMoveEvaluatorTest.cs
- Timestamp:
- 03/28/11 15:34:30 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/QAP/HeuristicLab.Problems.QuadraticAssignment/3.3/Tests/QAPMoveEvaluatorTest.cs
r5801 r5838 97 97 double after = QAPEvaluator.Apply(assignment, weights, distances); 98 98 // evaluate swap back 99 double move = QAPSwap MoveEvaluator.Apply(assignment, new SwapMove(index1, index2, assignment), weights, distances);99 double move = QAPSwap2MoveEvaluator.Apply(assignment, new Swap2Move(index1, index2, assignment), weights, distances); 100 100 Assert.IsTrue(move.IsAlmost(before - after)); 101 101 }
Note: See TracChangeset
for help on using the changeset viewer.