- Timestamp:
- 09/16/10 19:26:24 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 1 deleted
- 41 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Common/3.3/Content/IStorableContent.cs
r3500 r4419 23 23 24 24 namespace HeuristicLab.Common { 25 public interface IStorableContent : IContent , IDeepCloneable{25 public interface IStorableContent : IContent { 26 26 string Filename { get; set; } 27 28 event EventHandler FilenameChanged;29 27 } 30 28 } -
trunk/sources/HeuristicLab.Common/3.3/HeuristicLab.Common-3.3.csproj
r4065 r4419 116 116 <Compile Include="Content\ContentManager.cs" /> 117 117 <Compile Include="Content\IStorableContent.cs" /> 118 <Compile Include="Content\StorableContent.cs" />119 118 <Compile Include="DeepCloneable.cs" /> 120 119 <Compile Include="Content\IContent.cs" /> -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemArray.cs
r4068 r4419 33 33 [Item("ItemArray", "Represents an array of items.")] 34 34 public class ItemArray<T> : ObservableArray<T>, IItemArray<T> where T : class, IItem { 35 private string filename;36 public string Filename {37 get { return filename; }38 set {39 if (value == null) throw new ArgumentNullException();40 if ((filename == null) || !filename.Equals(value)) {41 filename = value;42 OnFilenameChanged();43 }44 }45 }46 47 35 public virtual string ItemName { 48 36 get { return ItemAttribute.GetName(this.GetType()); } … … 83 71 } 84 72 85 public event EventHandler FilenameChanged;86 protected virtual void OnFilenameChanged() {87 EventHandler handler = FilenameChanged;88 if (handler != null) handler(this, EventArgs.Empty);89 }90 73 public event EventHandler ItemImageChanged; 91 74 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemCollection.cs
r3822 r4419 33 33 [Item("ItemCollection", "Represents a collection of items.")] 34 34 public class ItemCollection<T> : ObservableCollection<T>, IItemCollection<T> where T : class, IItem { 35 private string filename;36 public string Filename {37 get { return filename; }38 set {39 if (value == null) throw new ArgumentNullException();40 if ((filename == null) || !filename.Equals(value)) {41 filename = value;42 OnFilenameChanged();43 }44 }45 }46 47 35 public virtual string ItemName { 48 36 get { return ItemAttribute.GetName(this.GetType()); } … … 82 70 } 83 71 84 public event EventHandler FilenameChanged;85 protected virtual void OnFilenameChanged() {86 EventHandler handler = FilenameChanged;87 if (handler != null) handler(this, EventArgs.Empty);88 }89 72 public event EventHandler ItemImageChanged; 90 73 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs
r4068 r4419 34 34 where TKey : class, IItem 35 35 where TValue : class, IItem { 36 private string filename;37 public string Filename {38 get { return filename; }39 set {40 if (value == null) throw new ArgumentNullException();41 if ((filename == null) || !filename.Equals(value)) {42 filename = value;43 OnFilenameChanged();44 }45 }46 }47 36 48 37 public virtual string ItemName { … … 84 73 } 85 74 86 public event EventHandler FilenameChanged;87 protected virtual void OnFilenameChanged() {88 EventHandler handler = FilenameChanged;89 if (handler != null) handler(this, EventArgs.Empty);90 }91 75 public event EventHandler ItemImageChanged; 92 76 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemList.cs
r4068 r4419 33 33 [Item("ItemList", "Represents a list of items.")] 34 34 public class ItemList<T> : ObservableList<T>, IItemList<T> where T : class, IItem { 35 private string filename;36 public string Filename {37 get { return filename; }38 set {39 if (value == null) throw new ArgumentNullException();40 if ((filename == null) || !filename.Equals(value)) {41 filename = value;42 OnFilenameChanged();43 }44 }45 }46 47 35 public virtual string ItemName { 48 36 get { return ItemAttribute.GetName(this.GetType()); } … … 82 70 } 83 71 84 public event EventHandler FilenameChanged;85 protected virtual void OnFilenameChanged() {86 EventHandler handler = FilenameChanged;87 if (handler != null) handler(this, EventArgs.Empty);88 }89 72 public event EventHandler ItemImageChanged; 90 73 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ItemSet.cs
r4068 r4419 33 33 [Item("ItemSet", "Represents a set of items.")] 34 34 public class ItemSet<T> : ObservableSet<T>, IItemSet<T> where T : class, IItem { 35 private string filename;36 public string Filename {37 get { return filename; }38 set {39 if (value == null) throw new ArgumentNullException();40 if ((filename == null) || !filename.Equals(value)) {41 filename = value;42 OnFilenameChanged();43 }44 }45 }46 47 35 public virtual string ItemName { 48 36 get { return ItemAttribute.GetName(this.GetType()); } … … 81 69 } 82 70 83 public event EventHandler FilenameChanged;84 protected virtual void OnFilenameChanged() {85 EventHandler handler = FilenameChanged;86 if (handler != null) handler(this, EventArgs.Empty);87 }88 71 public event EventHandler ItemImageChanged; 89 72 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs
r4068 r4419 31 31 [StorableClass] 32 32 public abstract class KeyedItemCollection<TKey, TItem> : ObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 83 71 } 84 72 85 public event EventHandler FilenameChanged;86 protected virtual void OnFilenameChanged() {87 EventHandler handler = FilenameChanged;88 if (handler != null) handler(this, EventArgs.Empty);89 }90 73 public event EventHandler ItemImageChanged; 91 74 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs
r4068 r4419 25 25 namespace HeuristicLab.Core { 26 26 [StorableClass] 27 [Creatable("Algorithm Design")]28 27 [Item("Operator Collection", "Represents a collection of operators.")] 29 28 public class OperatorCollection : ItemCollection<IOperator> { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs
r4068 r4419 31 31 [Item("ReadOnlyItemArray", "Represents a read-only array of items.")] 32 32 public class ReadOnlyItemArray<T> : ReadOnlyObservableArray<T>, IItemArray<T> where T : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 76 64 } 77 65 78 public event EventHandler FilenameChanged;79 protected virtual void OnFilenameChanged() {80 EventHandler handler = FilenameChanged;81 if (handler != null) handler(this, EventArgs.Empty);82 }83 66 public event EventHandler ItemImageChanged; 84 67 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs
r4068 r4419 31 31 [Item("ReadOnlyItemCollection", "Represents a read-only collection of items.")] 32 32 public class ReadOnlyItemCollection<T> : ReadOnlyObservableCollection<T>, IItemCollection<T> where T : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 76 64 } 77 65 78 public event EventHandler FilenameChanged;79 protected virtual void OnFilenameChanged() {80 EventHandler handler = FilenameChanged;81 if (handler != null) handler(this, EventArgs.Empty);82 }83 66 public event EventHandler ItemImageChanged; 84 67 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs
r4068 r4419 33 33 where TKey : class, IItem 34 34 where TValue : class, IItem { 35 private string filename;36 public string Filename {37 get { return filename; }38 set {39 if (value == null) throw new ArgumentNullException();40 if ((filename == null) || !filename.Equals(value)) {41 filename = value;42 OnFilenameChanged();43 }44 }45 }46 35 47 36 public virtual string ItemName { … … 78 67 } 79 68 80 public event EventHandler FilenameChanged;81 protected virtual void OnFilenameChanged() {82 EventHandler handler = FilenameChanged;83 if (handler != null) handler(this, EventArgs.Empty);84 }85 69 public event EventHandler ItemImageChanged; 86 70 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs
r4068 r4419 31 31 [Item("ReadOnlyItemList", "Represents a read-only list of items.")] 32 32 public class ReadOnlyItemList<T> : ReadOnlyObservableList<T>, IItemList<T> where T : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 76 64 } 77 65 78 public event EventHandler FilenameChanged;79 protected virtual void OnFilenameChanged() {80 EventHandler handler = FilenameChanged;81 if (handler != null) handler(this, EventArgs.Empty);82 }83 66 public event EventHandler ItemImageChanged; 84 67 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs
r4068 r4419 31 31 [Item("ReadOnlyItemSet", "Represents a read-only set of items.")] 32 32 public class ReadOnlyItemSet<T> : ReadOnlyObservableSet<T>, IItemSet<T> where T : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 76 64 } 77 65 78 public event EventHandler FilenameChanged;79 protected virtual void OnFilenameChanged() {80 EventHandler handler = FilenameChanged;81 if (handler != null) handler(this, EventArgs.Empty);82 }83 66 public event EventHandler ItemImageChanged; 84 67 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs
r4068 r4419 31 31 [Item("ReadOnlyKeyedItemCollection", "Represents a read-only keyed collection of items.")] 32 32 public class ReadOnlyKeyedItemCollection<TKey, TItem> : ReadOnlyObservableKeyedCollection<TKey, TItem>, IKeyedItemCollection<TKey, TItem> where TItem : class, IItem { 33 private string filename;34 public string Filename {35 get { return filename; }36 set {37 if (value == null) throw new ArgumentNullException();38 if ((filename == null) || !filename.Equals(value)) {39 filename = value;40 OnFilenameChanged();41 }42 }43 }44 45 33 public virtual string ItemName { 46 34 get { return ItemAttribute.GetName(this.GetType()); } … … 76 64 } 77 65 78 public event EventHandler FilenameChanged;79 protected virtual void OnFilenameChanged() {80 EventHandler handler = FilenameChanged;81 if (handler != null) handler(this, EventArgs.Empty);82 }83 66 public event EventHandler ItemImageChanged; 84 67 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Interfaces/IItem.cs
r3728 r4419 28 28 /// Interface to represent (almost) every HeuristicLab object (an object, an operator,...). 29 29 /// </summary> 30 public interface IItem : I StorableContent{30 public interface IItem : IContent, IDeepCloneable { 31 31 string ItemName { get; } 32 32 string ItemDescription { get; } -
trunk/sources/HeuristicLab.Core/3.3/Item.cs
r3728 r4419 32 32 [Item("Item", "Base class for all HeuristicLab items.")] 33 33 public abstract class Item : IItem { 34 private string filename;35 public string Filename {36 get { return filename; }37 set {38 if (value == null) throw new ArgumentNullException();39 if ((filename == null) || !filename.Equals(value)) {40 filename = value;41 OnFilenameChanged();42 }43 }44 }45 46 34 public virtual string ItemName { 47 35 get { return ItemAttribute.GetName(this.GetType()); } … … 57 45 } 58 46 59 protected Item() { 60 filename = string.Empty; 61 } 47 protected Item() { } 62 48 [StorableConstructor] 63 protected Item(bool deserializing) { 64 filename = string.Empty; 65 } 49 protected Item(bool deserializing) { } 66 50 67 51 public object Clone() { … … 82 66 } 83 67 84 public event EventHandler FilenameChanged;85 protected virtual void OnFilenameChanged() {86 EventHandler handler = FilenameChanged;87 if (handler != null) handler(this, EventArgs.Empty);88 }89 68 public event EventHandler ItemImageChanged; 90 69 protected virtual void OnItemImageChanged() { -
trunk/sources/HeuristicLab.Core/3.3/Log.cs
r3758 r4419 30 30 [Item("Log", "A log for logging string messages.")] 31 31 [StorableClass] 32 public class Log : Item, ILog { 32 public class Log : Item, ILog, IStorableContent { 33 public string Filename { get; set; } 34 33 35 public override Image ItemImage { 34 36 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.File; } -
trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs
r4068 r4419 31 31 /// </summary> 32 32 [Item("Operator Graph", "Represents a graph of operators.")] 33 [Creatable("Algorithm Design")]34 33 [StorableClass] 35 public class OperatorGraph : Item { 34 public class OperatorGraph : Item, IStorableContent { 35 public string Filename { get; set; } 36 36 37 [Storable] 37 38 private OperatorSet operators; -
trunk/sources/HeuristicLab.Encodings.BinaryVectorEncoding/3.3/Tests/TestRandom.cs
r3728 r4419 138 138 139 139 #endregion 140 141 #region IStorableContent Members142 143 public string Filename {144 get { throw new NotImplementedException(); }145 set { throw new NotImplementedException(); }146 }147 148 #pragma warning disable 67149 public event EventHandler FilenameChanged;150 #pragma warning restore 67151 152 #endregion153 140 } 154 141 } -
trunk/sources/HeuristicLab.Encodings.IntegerVectorEncoding/3.3/Tests/TestRandom.cs
r3728 r4419 138 138 139 139 #endregion 140 141 #region IStorableContent Members142 143 public string Filename {144 get { throw new NotImplementedException(); }145 set { throw new NotImplementedException(); }146 }147 148 #pragma warning disable 67149 public event EventHandler FilenameChanged;150 #pragma warning restore 67151 152 #endregion153 140 } 154 141 } -
trunk/sources/HeuristicLab.Encodings.PermutationEncoding/3.3/Tests/Random.cs
r3728 r4419 138 138 139 139 #endregion 140 141 #region IStorableContent Members142 143 public string Filename {144 get { throw new NotImplementedException(); }145 set { throw new NotImplementedException(); }146 }147 148 #pragma warning disable 67149 public event EventHandler FilenameChanged;150 #pragma warning restore 67151 152 #endregion153 140 } 154 141 } -
trunk/sources/HeuristicLab.Encodings.RealVectorEncoding/3.3/Tests/TestRandom.cs
r3728 r4419 138 138 139 139 #endregion 140 141 #region IStorableContent Members142 143 public string Filename {144 get { throw new NotImplementedException(); }145 set { throw new NotImplementedException(); }146 }147 148 #pragma warning disable 67149 public event EventHandler FilenameChanged;150 #pragma warning restore 67151 152 #endregion153 140 } 154 141 } -
trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs
r4068 r4419 41 41 [Item("ProgrammableOperator", "An operator that can be programmed for arbitrary needs.")] 42 42 [StorableClass] 43 public class ProgrammableOperator : Operator, IParameterizedNamedItem {43 public class ProgrammableOperator : Operator, IParameterizedNamedItem, IStorableContent { 44 44 45 45 #region Fields & Properties 46 47 public string Filename { get; set; } 46 48 47 49 public new ParameterCollection Parameters { -
trunk/sources/HeuristicLab.Operators/3.3/CombinedOperator.cs
r4068 r4419 20 20 #endregion 21 21 22 using HeuristicLab.Common; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 29 30 [Item("CombinedOperator", "An operator which contains an operator graph.")] 30 31 [StorableClass] 31 public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem { 32 public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem, IStorableContent { 33 public string Filename { get; set; } 34 32 35 public override bool CanChangeDescription { 33 36 get { return true; } -
trunk/sources/HeuristicLab.Optimization/3.3/Algorithm.cs
r4102 r4419 35 35 [Item("Algorithm", "A base class for algorithms.")] 36 36 [StorableClass] 37 public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm { 37 public abstract class Algorithm : ParameterizedNamedItem, IAlgorithm, IStorableContent { 38 public string Filename { get; set; } 39 38 40 public override Image ItemImage { 39 41 get { -
trunk/sources/HeuristicLab.Optimization/3.3/BatchRun.cs
r4115 r4419 36 36 [Creatable("Testing & Analysis")] 37 37 [StorableClass] 38 public sealed class BatchRun : NamedItem, IOptimizer { 38 public sealed class BatchRun : NamedItem, IOptimizer, IStorableContent { 39 public string Filename { get; set; } 40 39 41 public override Image ItemImage { 40 42 get { -
trunk/sources/HeuristicLab.Optimization/3.3/Experiment.cs
r4115 r4419 35 35 [Creatable("Testing & Analysis")] 36 36 [StorableClass] 37 public sealed class Experiment : NamedItem, IOptimizer { 37 public sealed class Experiment : NamedItem, IOptimizer, IStorableContent { 38 public string Filename { get; set; } 39 38 40 public override Image ItemImage { 39 41 get { -
trunk/sources/HeuristicLab.Optimization/3.3/OptimizerList.cs
r4068 r4419 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 26 27 namespace HeuristicLab.Optimization { 27 28 [Item("Optimizer List", "Represents a list of optimizers.")] 28 [Creatable("Testing & Analysis")]29 29 [StorableClass] 30 30 public class OptimizerList : ItemList<IOptimizer> { -
trunk/sources/HeuristicLab.Optimization/3.3/Result.cs
r3555 r4419 32 32 [Item("Result", "A result which has a name and a data type and holds an IItem.")] 33 33 [StorableClass] 34 public sealed class Result : NamedItem, IResult { 34 public sealed class Result : NamedItem, IResult, IStorableContent { 35 public string Filename { get; set; } 36 35 37 public override Image ItemImage { 36 38 get { -
trunk/sources/HeuristicLab.Optimization/3.3/Run.cs
r4200 r4419 33 33 [Item("Run", "The parameters and results of an algorithm run.")] 34 34 [StorableClass] 35 public sealed class Run : NamedItem, IRun { 35 public sealed class Run : NamedItem, IRun, IStorableContent { 36 public string Filename { get; set; } 37 36 38 [StorableConstructor] 37 39 private Run(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Optimization/3.3/RunCollection.cs
r4375 r4419 33 33 [Creatable("Testing & Analysis")] 34 34 [StorableClass] 35 public class RunCollection : ItemCollection<IRun>, IStringConvertibleMatrix { 35 public class RunCollection : ItemCollection<IRun>, IStringConvertibleMatrix, IStorableContent { 36 public string Filename { get; set; } 37 36 38 [StorableConstructor] 37 39 protected RunCollection(bool deserializing) : base(deserializing) { } -
trunk/sources/HeuristicLab.Optimization/3.3/UserDefinedProblem.cs
r3880 r4419 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class UserDefinedProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 40 public sealed class UserDefinedProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 41 public string Filename { get; set; } 42 41 43 public override Image ItemImage { 42 44 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } -
trunk/sources/HeuristicLab.Problems.ArtificialAnt/3.3/ArtificialAntProblem.cs
r4118 r4419 41 41 [Creatable("Problems")] 42 42 [StorableClass] 43 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 43 public sealed class ArtificialAntProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 44 public string Filename { get; set; } 44 45 45 46 public override Image ItemImage { -
trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/DataAnalysisProblem.cs
r4118 r4419 33 33 [Creatable("Problems")] 34 34 [StorableClass] 35 public class DataAnalysisProblem : ParameterizedNamedItem, IDataAnalysisProblem {35 public class DataAnalysisProblem : ParameterizedNamedItem, IDataAnalysisProblem, IStorableContent { 36 36 private const string DataAnalysisProblemDataParameterName = "DataAnalysisProblemData"; 37 38 public string Filename { get; set; } 39 37 40 public override Image ItemImage { 38 41 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } -
trunk/sources/HeuristicLab.Problems.ExternalEvaluation/3.3/ExternalEvaluationProblem.cs
r4118 r4419 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class ExternalEvaluationProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 40 public sealed class ExternalEvaluationProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 41 public string Filename { get; set; } 42 41 43 public override Image ItemImage { 42 44 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } 43 45 } 46 44 47 public new ParameterCollection Parameters { 45 48 get { return base.Parameters; } -
trunk/sources/HeuristicLab.Problems.Knapsack/3.3/KnapsackProblem.cs
r4118 r4419 37 37 [Creatable("Problems")] 38 38 [StorableClass] 39 public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 39 public sealed class KnapsackProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 40 public string Filename { get; set; } 41 40 42 public override Image ItemImage { 41 43 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } -
trunk/sources/HeuristicLab.Problems.OneMax/3.3/OnemaxProblem.cs
r4118 r4419 37 37 [Creatable("Problems")] 38 38 [StorableClass] 39 public sealed class OneMaxProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 39 public sealed class OneMaxProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 40 public string Filename { get; set; } 41 40 42 public override Image ItemImage { 41 43 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } -
trunk/sources/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r4118 r4419 37 37 [StorableClass] 38 38 [Creatable("Problems")] 39 public sealed class SingleObjectiveTestFunctionProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 39 public sealed class SingleObjectiveTestFunctionProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 40 public string Filename { get; set; } 41 40 42 [Storable] 41 43 private StdDevStrategyVectorCreator strategyVectorCreator; -
trunk/sources/HeuristicLab.Problems.TravelingSalesman/3.3/TravelingSalesmanProblem.cs
r4118 r4419 38 38 [Creatable("Problems")] 39 39 [StorableClass] 40 public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 40 public sealed class TravelingSalesmanProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 41 public string Filename { get; set; } 42 41 43 public override Image ItemImage { 42 44 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; } -
trunk/sources/HeuristicLab.Problems.VehicleRouting/3.3/VehicleRoutingProblem.cs
r4352 r4419 40 40 [Creatable("Problems")] 41 41 [StorableClass] 42 public sealed class VehicleRoutingProblem : ParameterizedNamedItem, ISingleObjectiveProblem { 42 public sealed class VehicleRoutingProblem : ParameterizedNamedItem, ISingleObjectiveProblem, IStorableContent { 43 public string Filename { get; set; } 44 43 45 public override Image ItemImage { 44 46 get { return HeuristicLab.Common.Resources.VS2008ImageLibrary.Type; }
Note: See TracChangeset
for help on using the changeset viewer.