Changeset 16728 for branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
- Timestamp:
- 03/31/19 14:40:15 (5 years ago)
- Location:
- branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization
- Property svn:mergeinfo changed
-
branches/1614_GeneralizedQAP/HeuristicLab.Optimization/3.3/Problems/UserDefinedProblem.cs
r15605 r16728 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 8Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2019 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 30 30 using HeuristicLab.Data; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Attic; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 … … 39 39 [Item("User-Defined Problem", "A problem which can be defined by the user.")] 40 40 [Creatable(CreatableAttribute.Categories.Problems, Priority = 120)] 41 [Storable Class]41 [StorableType("9F18A098-A8B8-4F70-93CF-79FF1496AC8A")] 42 42 public sealed class UserDefinedProblem : ParameterizedNamedItem, ISingleObjectiveHeuristicOptimizationProblem, IStorableContent { 43 43 public string Filename { get; set; } … … 122 122 123 123 [StorableConstructor] 124 private UserDefinedProblem( bool deserializing) : base(deserializing) { }124 private UserDefinedProblem(StorableConstructorFlag _) : base(_) { } 125 125 [StorableHook(HookType.AfterDeserialization)] 126 126 private void AfterDeserialization() { … … 235 235 236 236 [Item("EmptyUserDefinedProblemEvaluator", "A dummy evaluator that will throw an exception when executed.")] 237 [Storable Class]237 [StorableType("E27E4145-6D44-4A9D-B15A-B0E0528ECD0D")] 238 238 [NonDiscoverableType] 239 239 private sealed class EmptyUserDefinedProblemEvaluator : ParameterizedNamedItem, ISingleObjectiveEvaluator { 240 240 241 241 [StorableConstructor] 242 private EmptyUserDefinedProblemEvaluator( bool deserializing) : base(deserializing) { }242 private EmptyUserDefinedProblemEvaluator(StorableConstructorFlag _) : base(_) { } 243 243 private EmptyUserDefinedProblemEvaluator(EmptyUserDefinedProblemEvaluator original, Cloner cloner) 244 244 : base(original, cloner) {
Note: See TracChangeset
for help on using the changeset viewer.