Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/05/10 03:17:25 (14 years ago)
Author:
swagner
Message:

Continued work on algorithm batch processing (#947).

File:
1 edited

Legend:

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

    r3262 r3265  
    155155
    156156    public override void Prepare() {
    157       base.Prepare();
    158       if (Engine != null) {
    159         if (Problem == null || MoveGenerator == null || MoveMaker == null || MoveEvaluator == null)
    160           Engine.Prepare(null);
    161       }
     157      if (Problem != null && MoveGenerator != null && MoveMaker != null && MoveEvaluator != null)
     158        base.Prepare();
    162159    }
    163160
Note: See TracChangeset for help on using the changeset viewer.