Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/18/14 13:34:37 (10 years ago)
Author:
ascheibe
Message:

merged only Hive changes from trunk into branch

Location:
branches/HiveStatistics/sources/HeuristicLab.Clients.Hive
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/HiveStatistics/sources/HeuristicLab.Clients.Hive

    • Property svn:mergeinfo set to (toggle deleted branches)
      /trunk/sources/HeuristicLab.Clients.Hivemergedeligible
      /branches/Algorithms.GradientDescent/HeuristicLab.Clients.Hive5516-5520
      /branches/Benchmarking/sources/HeuristicLab.Clients.Hive6917-7005
      /branches/CloningRefactoring/HeuristicLab.Clients.Hive4656-4721
      /branches/DataAnalysis Refactoring/HeuristicLab.Clients.Hive5471-5808
      /branches/DataAnalysis SolutionEnsembles/HeuristicLab.Clients.Hive5815-6180
      /branches/DataAnalysis/HeuristicLab.Clients.Hive4458-4459,​4462,​4464
      /branches/GP.Grammar.Editor/HeuristicLab.Clients.Hive6284-6795
      /branches/GP.Symbols (TimeLag, Diff, Integral)/HeuristicLab.Clients.Hive5060
      /branches/NET40/sources/HeuristicLab.Clients.Hive5138-5162
      /branches/ParallelEngine/HeuristicLab.Clients.Hive5175-5192
      /branches/ProblemInstancesRegressionAndClassification/HeuristicLab.Clients.Hive7568-7810
      /branches/QAPAlgorithms/HeuristicLab.Clients.Hive6350-6627
      /branches/Restructure trunk solution/HeuristicLab.Clients.Hive6828
      /branches/RuntimeOptimizer/HeuristicLab.Clients.Hive8943-9078
      /branches/ScatterSearch (trunk integration)/HeuristicLab.Clients.Hive7787-8333
      /branches/SlaveShutdown/HeuristicLab.Clients.Hive8944-8956
      /branches/SuccessProgressAnalysis/HeuristicLab.Clients.Hive5370-5682
      /branches/Trunk/HeuristicLab.Clients.Hive6829-6865
      /branches/UnloadJobs/HeuristicLab.Clients.Hive9168-9215
      /branches/VNS/HeuristicLab.Clients.Hive5594-5752
      /branches/histogram/HeuristicLab.Clients.Hive5959-6341
  • branches/HiveStatistics/sources/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs

    r11203 r11204  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3030  [StorableClass]
    3131  public class OptimizerTask : ItemTask {
     32    public override HiveTask CreateHiveTask() {
     33      return new OptimizerHiveTask(this);
     34    }
     35
    3236    public override bool IsParallelizable {
    3337      get { return this.Item is Experiment || this.Item is BatchRun; }
     
    4650    }
    4751
    48     public OptimizerTask() : base() { }
    4952    public OptimizerTask(IOptimizer optimizer)
    50       : this() {
    51       this.Item = optimizer;
    52 
    53       if (optimizer is Experiment) {
     53      : base(optimizer) {
     54
     55      if (optimizer is Experiment || optimizer is BatchRun) {
    5456        this.ComputeInParallel = true;
    55       } else if (optimizer is BatchRun) {
    56         this.ComputeInParallel = false;
    5757      } else {
    5858        this.ComputeInParallel = false;
     
    210210      get {
    211211        if (Item == null)
    212           return string.Empty;
     212          return "Optimizer Task";
    213213        else
    214214          return Item.Name;
Note: See TracChangeset for help on using the changeset viewer.