Changeset 14702 for branches/jschiess/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingMainLoop.cs
- Timestamp:
- 02/24/17 18:48:57 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/jschiess/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingMainLoop.cs
r14555 r14702 59 59 private const string TerminateName = "Terminate"; 60 60 private const string AcceptanceMemoryName = "AcceptanceMemory"; 61 private const string ReheatCountName = "ReheatCount"; 61 62 #endregion 62 63 … … 217 218 variableCreator.Name = "Initialize Memory"; 218 219 variableCreator.CollectedValues.Add(new ValueParameter<ItemList<BoolValue>>(AcceptanceMemoryName, new ItemList<BoolValue>())); 220 variableCreator.CollectedValues.Add(new ValueParameter<IntValue>(ReheatCountName, new IntValue(0))); 219 221 220 222 analyzer1.Name = "Analyzer"; … … 241 243 moveMaker.OperatorParameter.ActualName = MoveMakerParameter.Name; 242 244 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 255 246 256 247 subScopesRemover.RemoveAllSubScopes = true;
Note: See TracChangeset
for help on using the changeset viewer.