Changeset 12395 for branches/HiveStatistics/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
- Timestamp:
- 05/20/15 16:41:14 (9 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:mergeinfo changed
-
branches/HiveStatistics/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
r11205 r12395 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 33 33 using HeuristicLab.Parameters; 34 34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 35 using HeuristicLab.PluginInfrastructure; 35 36 36 37 namespace HeuristicLab.Problems.ExternalEvaluation { 37 38 [Item("External Evaluation Problem", "A problem that is evaluated in a different process.")] 38 [Creatable("Problems")]39 39 [StorableClass] 40 [NonDiscoverableType] 40 41 public sealed class ExternalEvaluationProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 41 42 public string Filename { get; set; } … … 120 121 get { return OperatorsParameter.Value; } 121 122 } 123 124 public IEnumerable<IParameterizedItem> ExecutionContextItems { get { return new[] { this }; } } 125 122 126 private BestScopeSolutionAnalyzer BestScopeSolutionAnalyzer { 123 127 get { return OperatorsParameter.Value.OfType<BestScopeSolutionAnalyzer>().FirstOrDefault(); } … … 240 244 BestScopeSolutionAnalyzer.QualityParameter.ActualName = Evaluator.QualityParameter.ActualName; 241 245 BestScopeSolutionAnalyzer.BestKnownQualityParameter.ActualName = BestKnownQualityParameter.Name; 242 BestScopeSolutionAnalyzer.BestKnownSolutionParameter.ActualName = BestKnownSolutionParameter.Name;243 246 BestScopeSolutionAnalyzer.MaximizationParameter.ActualName = MaximizationParameter.Name; 244 247 }
Note: See TracChangeset
for help on using the changeset viewer.