- Timestamp:
- 12/20/11 11:45:18 (13 years ago)
- Location:
- branches/HeuristicLab.TimeSeries
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.TimeSeries
-
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/Algorithms/Algorithm.cs
r6114 r7213 37 37 [StorableClass] 38 38 public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm { 39 public static new Image StaticItemImage { 40 get { return HeuristicLab.Common.Resources.VSImageLibrary.Event; } 41 } 39 42 public override Image ItemImage { 40 43 get { … … 43 46 else if (ExecutionState == ExecutionState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutablePaused; 44 47 else if (ExecutionState == ExecutionState.Stopped) return HeuristicLab.Common.Resources.VSImageLibrary.ExecutableStopped; 45 else return HeuristicLab.Common.Resources.VSImageLibrary.Event;48 else return base.ItemImage; 46 49 } 47 50 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/BatchRun.cs
r6816 r7213 39 39 public string Filename { get; set; } 40 40 41 public static new Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Event; } 43 } 41 44 public override Image ItemImage { 42 45 get { … … 45 48 else if (ExecutionState == ExecutionState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.BatchRunPaused; 46 49 else if (ExecutionState == ExecutionState.Stopped) return HeuristicLab.Common.Resources.VSImageLibrary.BatchRunStopped; 47 else return HeuristicLab.Common.Resources.VSImageLibrary.Event;50 else return base.ItemImage; 48 51 } 49 52 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/Experiment.cs
r6767 r7213 39 39 public string Filename { get; set; } 40 40 41 public static new Image StaticItemImage { 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Event; } 43 } 41 44 public override Image ItemImage { 42 45 get { … … 45 48 else if (ExecutionState == ExecutionState.Paused) return HeuristicLab.Common.Resources.VSImageLibrary.ExperimentPaused; 46 49 else if (ExecutionState == ExecutionState.Stopped) return HeuristicLab.Common.Resources.VSImageLibrary.ExperimentStopped; 47 else return HeuristicLab.Common.Resources.VSImageLibrary.Event;50 else return base.ItemImage; 48 51 } 49 52 } … … 336 339 private void optimizer_Stopped(object sender, EventArgs e) { 337 340 if (experimentStopped && Optimizers.All(o => o.ExecutionState == ExecutionState.Stopped || o.ExecutionState == ExecutionState.Prepared)) OnStopped(); 338 else if (Optimizers.A ll(o => o.ExecutionState == ExecutionState.Stopped)) OnStopped();341 else if (Optimizers.Any(o => o.ExecutionState == ExecutionState.Stopped) && Optimizers.All(o => o.ExecutionState != ExecutionState.Started) && Optimizers.All(o => o.ExecutionState != ExecutionState.Paused)) OnStopped(); 339 342 else if (Optimizers.Any(o => o.ExecutionState == ExecutionState.Paused) && Optimizers.All(o => o.ExecutionState != ExecutionState.Started)) OnPaused(); 340 343 else if (experimentStarted && !experimentStopped && Optimizers.Any(x => (x.ExecutionState == ExecutionState.Prepared) || (x.ExecutionState == ExecutionState.Paused))) { -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/Interfaces/IAnalyzer.cs
r5445 r7213 26 26 /// An interface which represents an analysis operator. 27 27 /// </summary> 28 public interface IAnalyzer : IOperator { } 28 public interface IAnalyzer : IOperator { 29 bool EnabledByDefault { get; } 30 } 29 31 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/Problems/Problem.cs
r6938 r7213 39 39 } 40 40 41 public override ImageItemImage {41 public static new Image StaticItemImage { 42 42 get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; } 43 43 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
r5954 r7213 43 43 public string Filename { get; set; } 44 44 45 public override ImageItemImage {45 public static new Image StaticItemImage { 46 46 get { return HeuristicLab.Common.Resources.VSImageLibrary.Type; } 47 47 } … … 263 263 #endregion 264 264 265 public override ImageItemImage {265 public static new Image StaticItemImage { 266 266 get { return HeuristicLab.Common.Resources.VSImageLibrary.Method; } 267 267 } -
branches/HeuristicLab.TimeSeries/HeuristicLab.Optimization/3.3/ResultCollection.cs
r6524 r7213 41 41 } 42 42 43 public override System.Drawing.ImageItemImage {43 public static new System.Drawing.Image StaticItemImage { 44 44 get { return HeuristicLab.Common.Resources.VSImageLibrary.Object; } 45 45 }
Note: See TracChangeset
for help on using the changeset viewer.