Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/18/10 22:57:22 (14 years ago)
Author:
abeham
Message:

Fixed changing of MoveTabuParameter and added two different tabu criteria for a move: One prevents only readding deleted edges, the other prevents both readding deleted edges and deleting added edges. #840

File:
1 edited

Legend:

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

    r3100 r3104  
    4848      get { return (LookupParameter<DoubleValue>)Parameters["MoveQuality"]; }
    4949    }
     50    public LookupParameter<BoolValue> MoveTabuParameter {
     51      get { return (LookupParameter<BoolValue>)Parameters["MoveTabu"]; }
     52    }
    5053    public ValueLookupParameter<IntValue> MaximumIterationsParameter {
    5154      get { return (ValueLookupParameter<IntValue>)Parameters["MaximumIterations"]; }
     
    8891      Parameters.Add(new LookupParameter<DoubleValue>("Quality", "The value which represents the quality of a solution."));
    8992      Parameters.Add(new LookupParameter<DoubleValue>("MoveQuality", "The value which represents the quality of a move."));
     93      Parameters.Add(new LookupParameter<BoolValue>("MoveTabu", "The value that indicates if a move is tabu or not."));
    9094      Parameters.Add(new ValueLookupParameter<IntValue>("MaximumIterations", "The maximum number of generations which should be processed."));
    9195      Parameters.Add(new ValueLookupParameter<IntValue>("TabuTenure", "The length of the tabu list, and also means the number of iterations a move is kept tabu"));
Note: See TracChangeset for help on using the changeset viewer.