- Timestamp:
- 07/18/12 11:10:08 (12 years ago)
- Location:
- branches/ScatterSearch (trunk integration)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ScatterSearch (trunk integration)/HeuristicLab.Algorithms.ScatterSearch/3.3/ScatterSearch.cs
r8086 r8299 320 320 Problem.Evaluator.QualityParameter.ActualNameChanged += new EventHandler(Evaluator_QualityParameter_ActualNameChanged); 321 321 } 322 ParameterizeMainLoop(); 322 323 } 323 324 private void UpdateAnalyzers() { -
branches/ScatterSearch (trunk integration)/HeuristicLab.Optimization.Operators/3.3/SimilarityCalculator.cs
r8086 r8299 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 26 26 27 namespace HeuristicLab.Optimization.Operators { … … 29 30 /// </summary> 30 31 [Item("SimilarityCalculator", "A base class for items that perform similarity calculation between two solutions.")] 32 [StorableClass] 31 33 public abstract class SimilarityCalculator : Item, ISimilarityCalculator { 32 34 #region Properties 33 public string Target { get; set; } 35 [Storable] 36 private string target; 37 public string Target { 38 get { return target; } 39 set { target = value; } 40 } 34 41 #endregion 35 42 43 [StorableConstructor] 36 44 protected SimilarityCalculator(bool deserializing) : base(deserializing) { } 37 45 protected SimilarityCalculator(SimilarityCalculator original, Cloner cloner) : base(original, cloner) { } … … 48 56 protected abstract double CalculateSimilarity(IScope left, IScope right); 49 57 50 public override Common.IDeepCloneable Clone(Common.Cloner cloner) { return null; }58 public override IDeepCloneable Clone(Cloner cloner) { return null; } 51 59 } 52 60 }
Note: See TracChangeset
for help on using the changeset viewer.