Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/13/15 15:00:15 (9 years ago)
Author:
abeham
Message:

#2174, #2282: merged revisions r11961,r11963,r11967,r11970,r11971,r11982,r11984,r11998,r12001,r12002,r12003,r12004,r11939,r11945,r11956,r11958,r11959,r11960,r11983,r11987,r11988,r11990,r11993,r11994,r11996,r11999,r12000 to stable

Location:
stable
Files:
3 edited
1 copied

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs

    r11906 r12005  
    3333using HeuristicLab.Parameters;
    3434using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     35using HeuristicLab.PluginInfrastructure;
    3536
    3637namespace HeuristicLab.Problems.ExternalEvaluation {
    3738  [Item("External Evaluation Problem", "A problem that is evaluated in a different process.")]
    38   [Creatable("Problems")]
    3939  [StorableClass]
     40  [NonDiscoverableType]
    4041  public sealed class ExternalEvaluationProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent {
    4142    public string Filename { get; set; }
     
    120121      get { return OperatorsParameter.Value; }
    121122    }
     123
     124    public IEnumerable<IParameterizedItem> ExecutionContextItems { get { return new[] { this }; } }
     125
    122126    private BestScopeSolutionAnalyzer BestScopeSolutionAnalyzer {
    123127      get { return OperatorsParameter.Value.OfType<BestScopeSolutionAnalyzer>().FirstOrDefault(); }
  • stable/HeuristicLab.Problems.ExternalEvaluation/3.4/ExternalEvaluationProblem.cs

    r11961 r12005  
    8585    public ExternalEvaluationProblem()
    8686      : 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()));
    8789      Parameters.Add(new OptionalValueParameter<EvaluationCache>("Cache", "Cache of previously evaluated solutions."));
    8890      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.