Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/23/11 01:30:48 (13 years ago)
Author:
abeham
Message:

#1425

  • readded the removal of one of the result collector's collected values (and added a comment to the local search mainloop hinting, that a change can break another operator)
  • updated and readded the sample
File:
1 edited

Legend:

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

    r6043 r6044  
    2828using HeuristicLab.Operators;
    2929using HeuristicLab.Optimization;
     30using HeuristicLab.Optimization.Operators;
    3031using HeuristicLab.Parameters;
    3132using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    139140
    140141      loop = new LocalSearchMainLoop();
     142      ((ResultsCollector)((SingleSuccessorOperator)loop.OperatorGraph.InitialOperator).Successor).CollectedValues.Remove(loop.BestLocalQualityParameter.Name);
    141143      ParameterizeLSMainLoop();
    142144
Note: See TracChangeset for help on using the changeset viewer.