- Timestamp:
- 07/08/15 15:32:12 (9 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 7 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
-
branches/HiveStatistics/sources/HeuristicLab.Optimization
- Property svn:mergeinfo changed
/branches/TimeLimitRunOptimizer/HeuristicLab.Optimization (added) merged: 9438,12118,12128,12625 /trunk/sources/HeuristicLab.Optimization merged: 12617,12627,12672
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Optimization/3.3/BasicProblems/Operators/MultiObjectiveEvaluator.cs
r12012 r12689 31 31 [Item("Multi-objective Evaluator", "Calls the Evaluate method of the problem definition and writes the return value into the scope.")] 32 32 [StorableClass] 33 public class MultiObjectiveEvaluator : SingleSuccessorOperator, IMultiObjectiveEvaluationOperator, IStochasticOperator {33 public class MultiObjectiveEvaluator : InstrumentedOperator, IMultiObjectiveEvaluationOperator, IStochasticOperator { 34 34 35 35 public ILookupParameter<IRandom> RandomParameter { … … 60 60 } 61 61 62 public override IOperation Apply() {62 public override IOperation InstrumentedApply() { 63 63 var random = RandomParameter.ActualValue; 64 64 var encoding = EncodingParameter.ActualValue; 65 65 var individual = encoding.GetIndividual(ExecutionContext.Scope); 66 66 QualitiesParameter.ActualValue = new DoubleArray(EvaluateFunc(individual, random)); 67 return base. Apply();67 return base.InstrumentedApply(); 68 68 } 69 69 } -
branches/HiveStatistics/sources/HeuristicLab.Optimization/3.3/BasicProblems/Operators/SingleObjectiveEvaluator.cs
r12012 r12689 31 31 [Item("Single-objective Evaluator", "Calls the script's Evaluate method to get the quality value of the parameter vector.")] 32 32 [StorableClass] 33 public sealed class SingleObjectiveEvaluator : SingleSuccessorOperator, ISingleObjectiveEvaluationOperator, IStochasticOperator {33 public sealed class SingleObjectiveEvaluator : InstrumentedOperator, ISingleObjectiveEvaluationOperator, IStochasticOperator { 34 34 35 35 public ILookupParameter<IRandom> RandomParameter { … … 58 58 public override IDeepCloneable Clone(Cloner cloner) { return new SingleObjectiveEvaluator(this, cloner); } 59 59 60 public override IOperation Apply() {60 public override IOperation InstrumentedApply() { 61 61 var random = RandomParameter.ActualValue; 62 62 var encoding = EncodingParameter.ActualValue; 63 63 var individual = encoding.GetIndividual(ExecutionContext.Scope); 64 64 QualityParameter.ActualValue = new DoubleValue(EvaluateFunc(individual, random)); 65 return base. Apply();65 return base.InstrumentedApply(); 66 66 } 67 67 } -
branches/HiveStatistics/sources/HeuristicLab.Optimization/3.3/HeuristicLab.Optimization-3.3.csproj
r11970 r12689 165 165 <Compile Include="MetaOptimizers\BatchRun.cs" /> 166 166 <Compile Include="MetaOptimizers\Experiment.cs" /> 167 <Compile Include="MetaOptimizers\TimeLimitRun.cs" /> 167 168 <Compile Include="RunCollectionModification\RunCollectionRunRemover.cs" /> 168 169 <Compile Include="Plugin.cs" /> -
branches/HiveStatistics/sources/HeuristicLab.Optimization/3.3/Problems/SingleObjectiveHeuristicOptimizationProblem.cs
-
branches/HiveStatistics/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r12515 r12689 445 445 EventHandler<EventArgs<int, int>> handler = ItemChanged; 446 446 if (handler != null) handler(this, new EventArgs<int, int>(rowIndex, columnIndex)); 447 OnToStringChanged();448 447 } 449 448 public event EventHandler Reset; … … 451 450 EventHandler handler = Reset; 452 451 if (handler != null) handler(this, EventArgs.Empty); 453 OnToStringChanged();454 452 } 455 453 public event EventHandler ColumnsChanged;
Note: See TracChangeset
for help on using the changeset viewer.