Free cookie consent management tool by TermsFeed Policy Generator

Changeset 8746 for trunk/sources


Ignore:
Timestamp:
10/05/12 14:49:37 (12 years ago)
Author:
ascheibe
Message:

#1331 fixed a small bug in the Prepare method of ScatterSearch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs

    r8662 r8746  
    262262
    263263    public override void Prepare() {
    264       if (Problem != null && Improver != null && PathRelinker != null && SimilarityCalculator != null)
     264      if (Problem != null && Improver != null && (PathRelinker != null || ExecutePathRelinking.Value == false) && SimilarityCalculator != null)
    265265        base.Prepare();
    266266    }
Note: See TracChangeset for help on using the changeset viewer.