Changeset 17334 for branches/2521_ProblemRefactoring
- Timestamp:
- 10/17/19 11:55:58 (5 years ago)
- Location:
- branches/2521_ProblemRefactoring
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB/3.3/RunCreation/MultiObjectiveOKBProblem.cs
r17226 r17334 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Optimization; 26 using HEAL.Attic;27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { … … 30 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 120)] 31 31 [StorableType("BB74E220-F721-4129-9A50-374647B16B97")] 32 public sealed class MultiObjectiveOKBProblem : OKBProblem, IMultiObjectiveHeuristicOptimizationProblem, IStorableContent { 33 public string Filename { get; set; } 34 32 public sealed class MultiObjectiveOKBProblem : OKBProblem, IMultiObjectiveHeuristicOptimizationProblem { 35 33 public override Type ProblemType { 36 34 get { return typeof(IMultiObjectiveHeuristicOptimizationProblem); } -
branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB/3.3/RunCreation/OKBProblem.cs
r17226 r17334 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 using HeuristicLab.Core;24 using HeuristicLab.Optimization;25 using HEAL.Attic;26 using HeuristicLab.Persistence.Default.Xml;27 22 using System; 28 23 using System.Collections.Generic; … … 30 25 using System.IO; 31 26 using System.Linq; 27 using HEAL.Attic; 28 using HeuristicLab.Common; 29 using HeuristicLab.Core; 30 using HeuristicLab.Optimization; 31 using HeuristicLab.Persistence.Default.Xml; 32 32 33 33 namespace HeuristicLab.Clients.OKB.RunCreation { … … 35 35 [StorableType("041DC8A8-2987-4045-B24A-CBA7EAD47316")] 36 36 public abstract class OKBProblem : Item, IHeuristicOptimizationProblem { 37 public string Filename { get; set; } 37 38 public virtual Type ProblemType { 38 39 get { return typeof(IHeuristicOptimizationProblem); } -
branches/2521_ProblemRefactoring/HeuristicLab.Clients.OKB/3.3/RunCreation/SingleObjectiveOKBProblem.cs
r17226 r17334 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Optimization; 26 using HEAL.Attic;27 27 28 28 namespace HeuristicLab.Clients.OKB.RunCreation { … … 30 30 [Creatable(CreatableAttribute.Categories.TestingAndAnalysisOKB, Priority = 110)] 31 31 [StorableType("1A1DF6E8-4A3F-4D91-9B1D-6FF6EC8D1055")] 32 public sealed class SingleObjectiveOKBProblem : OKBProblem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 33 public string Filename { get; set; } 32 public sealed class SingleObjectiveOKBProblem : OKBProblem, ISingleObjectiveHeuristicOptimizationProblem { 34 33 35 34 public override Type ProblemType { -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/BasicProblems/Problem.cs
r17226 r17334 36 36 where TEncodedSolution : class, IEncodedSolution 37 37 where TEvaluator : class, IEvaluator { 38 public string Filename { get; set; } // TODO: Really okay here? should be in Problem (non-generic)38 39 39 40 40 //TODO remove parameter for encoding? -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/Interfaces/IProblem.cs
r17257 r17334 23 23 using System.Collections.Generic; 24 24 using HEAL.Attic; 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; 26 27 … … 30 31 /// Interface to represent an optimization problem. 31 32 /// </summary> 32 public interface IProblem : IParameterizedNamedItem {33 public interface IProblem : IParameterizedNamedItem , IStorableContent{ 33 34 IEnumerable<IItem> Operators { get; } 34 35 -
branches/2521_ProblemRefactoring/HeuristicLab.Optimization/3.3/Problems/Problem.cs
r17226 r17334 34 34 [StorableType("6DC97432-9BD1-4304-802A-1FC48A0E0468")] 35 35 public abstract class Problem : ParameterizedNamedItem, IProblem { 36 public string Filename { get; set; } 37 36 38 private const string OperatorsParameterName = "Operators"; 37 39 public IFixedValueParameter<ItemCollection<IItem>> OperatorsParameter {
Note: See TracChangeset
for help on using the changeset viewer.