Changeset 8331 for branches/ScatterSearch (trunk integration)/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs
- Timestamp:
- 07/26/12 09:51:13 (12 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Algorithms.SimulatedAnnealing/3.3/SimulatedAnnealingImprovementOperator.cs
r8086 r8331 67 67 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } 68 68 } 69 p rivateConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {70 get { return ( ConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }71 } 72 p rivateConstrainedValueParameter<IMoveMaker> MoveMakerParameter {73 get { return ( ConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }74 } 75 p rivateConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {76 get { return ( ConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }69 public IConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter { 70 get { return (IConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; } 71 } 72 public IConstrainedValueParameter<IMoveMaker> MoveMakerParameter { 73 get { return (IConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; } 74 } 75 public IConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter { 76 get { return (IConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; } 77 77 } 78 78 private IValueLookupParameter<IntValue> InnerIterationsParameter { … … 88 88 get { return (ValueParameter<DoubleValue>)Parameters["EndTemperature"]; } 89 89 } 90 p rivateConstrainedValueParameter<IDiscreteDoubleValueModifier> AnnealingOperatorParameter {91 get { return ( ConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["AnnealingOperator"]; }90 public IConstrainedValueParameter<IDiscreteDoubleValueModifier> AnnealingOperatorParameter { 91 get { return (IConstrainedValueParameter<IDiscreteDoubleValueModifier>)Parameters["AnnealingOperator"]; } 92 92 } 93 93 public ScopeTreeLookupParameter<DoubleValue> QualityParameter { … … 115 115 get { return MoveMakerParameter.Value; } 116 116 set { MoveMakerParameter.Value = value; } 117 } 118 public IDiscreteDoubleValueModifier AnnealingOperator { 119 get { return AnnealingOperatorParameter.Value; } 120 set { AnnealingOperatorParameter.Value = value; } 117 121 } 118 122 public ISingleObjectiveMoveEvaluator MoveEvaluator { … … 279 283 foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>()) 280 284 param.Depth = 0; 281 Analyzer.Operators.Add(clone, clone.EnabledByDefault);285 Analyzer.Operators.Add(clone, false); 282 286 } 283 287 } 284 288 } 285 Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);289 Analyzer.Operators.Add(qualityAnalyzer, false); 286 290 } 287 291
Note: See TracChangeset
for help on using the changeset viewer.