Changeset 12005 for stable/HeuristicLab.Problems.ExternalEvaluation
- Timestamp:
- 02/13/15 15:00:15 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 11939,11945,11956,11958-11961,11963,11967,11970-11971,11982-11984,11987-11988,11990,11993-11994,11996,11998-12004
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
r11906 r12005 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(); } -
stable/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs
r11961 r12005 85 85 public ExternalEvaluationProblem() 86 86 : base() { 87 Parameters.Remove("Maximization"); // readonly in base class 88 Parameters.Add(new FixedValueParameter<BoolValue>("Maximization", "Set to false if the problem should be minimized.", new BoolValue())); 87 89 Parameters.Add(new OptionalValueParameter<EvaluationCache>("Cache", "Cache of previously evaluated solutions.")); 88 90 Parameters.Add(new ValueParameter<CheckedItemCollection<IEvaluationServiceClient>>("Clients", "The clients that are used to communicate with the external application.", new CheckedItemCollection<IEvaluationServiceClient>() { new EvaluationServiceClient() }));
Note: See TracChangeset
for help on using the changeset viewer.