Changeset 10130 for trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks
- Timestamp:
- 11/12/13 20:35:30 (11 years ago)
- Location:
- trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/EngineTask.cs
r9819 r10130 29 29 [StorableClass] 30 30 public class EngineTask : ItemTask { 31 public override HiveTask CreateHiveTask() { 32 //only used when deserializing, so no problem with parentscope 33 return new EngineHiveTask(this, null); 34 } 35 31 36 [Storable] 32 37 protected IOperation initialOperation; … … 52 57 public EngineTask(IOperation initialOperation, IEngine engine) { 53 58 this.initialOperation = initialOperation; 59 this.Item = engine; 60 } 61 62 public EngineTask(IEngine engine) { 54 63 this.Item = engine; 55 64 } -
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/ItemTask.cs
r9456 r10130 31 31 [StorableClass] 32 32 public abstract class ItemTask : NamedItem, ITask { 33 public virtual HiveTask CreateHiveTask() { 34 return new HiveTask(this, true); 35 } 36 33 37 public virtual bool IsParallelizable { 34 38 get { return true; } 39 set { } 35 40 } 36 41 -
trunk/sources/HeuristicLab.Clients.Hive/3.3/Tasks/OptimizerTask.cs
r9819 r10130 30 30 [StorableClass] 31 31 public class OptimizerTask : ItemTask { 32 public override HiveTask CreateHiveTask() { 33 return new OptimizerHiveTask(this); 34 } 35 32 36 public override bool IsParallelizable { 33 37 get { return this.Item is Experiment || this.Item is BatchRun; }
Note: See TracChangeset
for help on using the changeset viewer.