Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/24/17 18:48:57 (8 years ago)
Author:
jschiess
Message:

#1836 SA reheating strategies: Added basic temperature reset strategy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/jschiess/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingMainLoop.cs

    r14555 r14702  
    5959        private const string TerminateName = "Terminate";
    6060        private const string AcceptanceMemoryName = "AcceptanceMemory";
     61        private const string ReheatCountName = "ReheatCount";
    6162        #endregion
    6263
     
    217218            variableCreator.Name = "Initialize Memory";
    218219            variableCreator.CollectedValues.Add(new ValueParameter<ItemList<BoolValue>>(AcceptanceMemoryName, new ItemList<BoolValue>()));
     220            variableCreator.CollectedValues.Add(new ValueParameter<IntValue>(ReheatCountName, new IntValue(0)));
    219221
    220222            analyzer1.Name = "Analyzer";
     
    241243            moveMaker.OperatorParameter.ActualName = MoveMakerParameter.Name;
    242244
    243             temperatureController.AnnealingOperatorParameter.ActualName = AnnealingOperatorParameter.Name;
    244             temperatureController.AcceptanceMemoryParameter.ActualName = AcceptanceMemoryName;
    245             temperatureController.CoolingParameter.ActualName = CoolingParameter.Name;
    246             temperatureController.EndTemperatureParameter.ActualName = EndTemperatureParameter.Name;
    247             temperatureController.ReheatingOperatorParameter.ActualName = ReheatingOperatorParameter.Name;
    248             temperatureController.IsAcceptedParameter.ActualName = IsAcceptedName;
    249             temperatureController.IterationsParameter.ActualName = IterationsParameter.Name;
    250             temperatureController.LowerTemperatureParameter.ActualName = LowerTemperatureParameter.Name;
    251             temperatureController.MaximumIterationsParameter.ActualName = MaximumIterationsParameter.Name;
    252             temperatureController.StartTemperatureParameter.ActualName = StartTemperatureParameter.Name;
    253             temperatureController.TemperatureParameter.ActualName = TemperatureParameter.Name;
    254             temperatureController.TemperatureStartIndexParameter.ActualName = TemperatureStartIndexParameter.Name;
     245           
    255246
    256247            subScopesRemover.RemoveAllSubScopes = true;
Note: See TracChangeset for help on using the changeset viewer.