Changeset 10309
- Timestamp:
- 01/08/14 15:17:06 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.MetaOptimization/HeuristicLab.Problems.MetaOptimization/3.3/Operators/Crossovers/IntValue/MultiIntValueCrossover.cs
r6017 r10309 1 1 using System; 2 using System.Collections.Generic;3 2 using System.Linq; 4 using System.Text; 3 using HeuristicLab.Common; 4 using HeuristicLab.Core; 5 using HeuristicLab.Data; 5 6 using HeuristicLab.Operators; 6 7 using HeuristicLab.Optimization; 8 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 7 9 using HeuristicLab.PluginInfrastructure; 8 using HeuristicLab.Data;9 using HeuristicLab.Core;10 using HeuristicLab.Common;11 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;12 10 13 11 namespace HeuristicLab.Problems.MetaOptimization.Operators.Crossovers { … … 30 28 } 31 29 } 32 protected MultiIntValueCrossover(MultiIntValueCrossover original, Cloner cloner) : base(original, cloner) { 30 protected MultiIntValueCrossover(MultiIntValueCrossover original, Cloner cloner) 31 : base(original, cloner) { 33 32 } 34 33 public override IDeepCloneable Clone(Cloner cloner) { … … 36 35 } 37 36 38 public override IOperation Apply() {37 public override IOperation InstrumentedApply() { 39 38 if (Operators.Count == 0) throw new InvalidOperationException(Name + ": Please add at least one permutation crossover to choose from."); 40 return base. Apply();39 return base.InstrumentedApply(); 41 40 } 42 41
Note: See TracChangeset
for help on using the changeset viewer.