Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/08/10 03:58:59 (14 years ago)
Author:
abeham
Message:

#893

  • prevented exception in the algorithms when an operator parameter from the problem is missing
File:
1 edited

Legend:

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

    r3679 r3715  
    278278      #endregion
    279279    }
     280
     281    public override IOperation Apply() {
     282      if (MoveGeneratorParameter.ActualValue == null || MoveEvaluatorParameter.ActualValue == null || MoveMakerParameter.ActualValue == null
     283        || TabuCheckerParameter.ActualValue == null || TabuMakerParameter.ActualValue == null)
     284        return null;
     285      return base.Apply();
     286    }
    280287  }
    281288}
Note: See TracChangeset for help on using the changeset viewer.