- Timestamp:
- 11/27/14 11:23:37 (10 years ago)
- Location:
- branches/Breadcrumbs
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Breadcrumbs/HeuristicLab.Problems.Scheduling/3.3/Evaluators/MakespanEvaluator.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.Scheduling/3.3/Evaluators/MeanTardinessEvaluator.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/Breadcrumbs/HeuristicLab.Problems.Scheduling/3.3/Evaluators/ScheduleEvaluator.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 31 31 [Item("Schedule Evaluator", "Represents a base class for schedule evaluators.")] 32 32 [StorableClass] 33 public abstract class ScheduleEvaluator : SingleSuccessorOperator, IScheduleEvaluator {33 public abstract class ScheduleEvaluator : InstrumentedOperator, IScheduleEvaluator { 34 34 35 35 public ILookupParameter<DoubleValue> QualityParameter { … … 51 51 protected abstract double Evaluate(Schedule schedule); 52 52 53 public override IOperation Apply() {53 public override IOperation InstrumentedApply() { 54 54 QualityParameter.ActualValue = new DoubleValue(Evaluate(ScheduleParameter.ActualValue)); 55 return base. Apply();55 return base.InstrumentedApply(); 56 56 } 57 57 } -
branches/Breadcrumbs/HeuristicLab.Problems.Scheduling/3.3/Evaluators/SchedulingEvaluator.cs
r9456 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 [Item("SchedulingEvaluator", "First applies the decoder operator to obtain a schedule from an encoding and then applies the evaluator to obtain a quality.")] 33 33 [StorableClass] 34 public class SchedulingEvaluator : SingleSuccessorOperator, ISchedulingEvaluator {34 public class SchedulingEvaluator : InstrumentedOperator, ISchedulingEvaluator { 35 35 36 36 public IValueLookupParameter<IScheduleDecoder> ScheduleDecoderParameter { 37 get { return (IValueLookupParameter<IScheduleDecoder>) 37 get { return (IValueLookupParameter<IScheduleDecoder>)Parameters["ScheduleDecoder"]; } 38 38 } 39 39 ILookupParameter<IScheduleDecoder> ISchedulingEvaluator.ScheduleDecoderParameter { … … 41 41 } 42 42 public IValueLookupParameter<IScheduleEvaluator> ScheduleEvaluatorParameter { 43 get { return (IValueLookupParameter<IScheduleEvaluator>) 43 get { return (IValueLookupParameter<IScheduleEvaluator>)Parameters["ScheduleEvaluator"]; } 44 44 } 45 45 ILookupParameter<IScheduleEvaluator> ISchedulingEvaluator.ScheduleEvaluatorParameter { … … 65 65 } 66 66 67 public override IOperation Apply() {67 public override IOperation InstrumentedApply() { 68 68 var decoder = ScheduleDecoderParameter.ActualValue; 69 69 var evaluator = ScheduleEvaluatorParameter.ActualValue; 70 70 if (evaluator == null) throw new InvalidOperationException("A ScheduleEvaluator could not be found."); 71 71 72 var operations = new OperationCollection(base. Apply());72 var operations = new OperationCollection(base.InstrumentedApply()); 73 73 operations.Insert(0, ExecutionContext.CreateChildOperation(evaluator)); 74 74 if (decoder != null) // decode before evaluating
Note: See TracChangeset
for help on using the changeset viewer.