Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/15/10 18:00:07 (15 years ago)
Author:
abeham
Message:

updated tabu search #840

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.TSP/3.3/MoveEvaluators/TwoOptMoveTSPEvaluator.cs

    r3017 r3044  
    7979      moveQuality += CalculateDistance(coordinates[edge1target, 0], coordinates[edge1target, 1],
    8080        coordinates[edge2target, 0], coordinates[edge2target, 1]);
    81       MoveQualityParameter.ActualValue = new DoubleData(moveQuality);
     81      if (MoveQualityParameter.ActualValue == null) MoveQualityParameter.ActualValue = new DoubleData(moveQuality);
     82      else MoveQualityParameter.ActualValue.Value = moveQuality;
    8283      return base.Apply();
    8384    }
Note: See TracChangeset for help on using the changeset viewer.