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/TemperatureController.cs

    r14555 r14702  
    5050        private const string IsAcceptedName = "IsAccepted";
    5151        private const string AcceptanceMemoryName = "AcceptanceMemory";
     52        private const string ReheatCountName = "ReheatCount";
    5253        #endregion
    5354
     
    101102            get { return (ILookupParameter<ItemList<BoolValue>>)Parameters[AcceptanceMemoryName]; }
    102103        }
     104        public ILookupParameter<IntValue> ReheatCountParameter
     105        {
     106            get { return (ILookupParameter<IntValue>)Parameters[ReheatCountName]; }
     107        }
    103108        #endregion
    104109
     
    121126            Parameters.Add(new LookupParameter<BoolValue>(IsAcceptedName, "Whether the move was accepted or not."));
    122127            Parameters.Add(new LookupParameter<ItemList<BoolValue>>(AcceptanceMemoryName, "Memorizes the last N acceptance decisions."));
     128            Parameters.Add(new LookupParameter<IntValue>(ReheatCountName, "The number of reheats."));
    123129        }
    124130
Note: See TracChangeset for help on using the changeset viewer.