- Timestamp:
- 07/03/12 16:46:35 (12 years ago)
- Location:
- branches/GP-MoveOperators
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-MoveOperators
- Property svn:mergeinfo changed
/trunk/sources merged: 8084,8088-8090,8092-8100,8102-8113,8115,8117-8132,8134-8146,8148-8156,8158-8160,8163-8170,8173-8176,8178-8190,8192-8205
- Property svn:mergeinfo changed
-
branches/GP-MoveOperators/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearch.cs
r8085 r8206 58 58 get { return (ValueParameter<BoolValue>)Parameters["SetSeedRandomly"]; } 59 59 } 60 public ConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {61 get { return ( ConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }62 } 63 public ConstrainedValueParameter<IMoveMaker> MoveMakerParameter {64 get { return ( ConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }65 } 66 public ConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {67 get { return ( ConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }60 public IConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter { 61 get { return (IConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; } 62 } 63 public IConstrainedValueParameter<IMoveMaker> MoveMakerParameter { 64 get { return (IConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; } 65 } 66 public IConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter { 67 get { return (IConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; } 68 68 } 69 69 private ValueParameter<IntValue> MaximumIterationsParameter { -
branches/GP-MoveOperators/HeuristicLab.Algorithms.LocalSearch/3.3/LocalSearchImprovementOperator.cs
r8085 r8206 64 64 65 65 #region Parameter Properties 66 public ConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter {67 get { return ( ConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; }68 } 69 public ConstrainedValueParameter<IMoveMaker> MoveMakerParameter {70 get { return ( ConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; }71 } 72 public ConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter {73 get { return ( ConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; }66 public IConstrainedValueParameter<IMoveGenerator> MoveGeneratorParameter { 67 get { return (IConstrainedValueParameter<IMoveGenerator>)Parameters["MoveGenerator"]; } 68 } 69 public IConstrainedValueParameter<IMoveMaker> MoveMakerParameter { 70 get { return (IConstrainedValueParameter<IMoveMaker>)Parameters["MoveMaker"]; } 71 } 72 public IConstrainedValueParameter<ISingleObjectiveMoveEvaluator> MoveEvaluatorParameter { 73 get { return (IConstrainedValueParameter<ISingleObjectiveMoveEvaluator>)Parameters["MoveEvaluator"]; } 74 74 } 75 75 public IValueLookupParameter<IntValue> SampleSizeParameter { … … 255 255 foreach (IScopeTreeLookupParameter param in clone.Parameters.OfType<IScopeTreeLookupParameter>()) 256 256 param.Depth = 0; 257 Analyzer.Operators.Add(clone, clone.EnabledByDefault);257 Analyzer.Operators.Add(clone, false); 258 258 } 259 259 } 260 260 } 261 Analyzer.Operators.Add(qualityAnalyzer, qualityAnalyzer.EnabledByDefault);261 Analyzer.Operators.Add(qualityAnalyzer, false); 262 262 } 263 263
Note: See TracChangeset
for help on using the changeset viewer.