Changeset 14927 for branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Problems.TestFunctions/3.3/SingleObjectiveTestFunctionProblem.cs
r14185 r14927 31 31 using HeuristicLab.Optimization.Operators; 32 32 using HeuristicLab.Parameters; 33 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;33 using HeuristicLab.Persistence; 34 34 using HeuristicLab.PluginInfrastructure; 35 35 using HeuristicLab.Problems.Instances; … … 37 37 namespace HeuristicLab.Problems.TestFunctions { 38 38 [Item("Test Function (single-objective)", "Test function with real valued inputs and a single objective.")] 39 [Storable Class]39 [StorableType("442d5e49-8fcd-4016-8974-eb93fce0c2d2")] 40 40 [Creatable(CreatableAttribute.Categories.Problems, Priority = 90)] 41 41 public sealed class SingleObjectiveTestFunctionProblem : SingleObjectiveHeuristicOptimizationProblem<ISingleObjectiveTestFunctionProblemEvaluator, IRealVectorCreator>, IStorableContent, IProblemInstanceConsumer<SOTFData> { … … 318 318 try { 319 319 BestKnownSolutionParameter.Value = Evaluator.GetBestKnownSolution(ProblemSize.Value); 320 } 321 catch (ArgumentException e) { 320 } catch (ArgumentException e) { 322 321 ErrorHandling.ShowErrorDialog(e); 323 322 ProblemSize.Value = Evaluator.MinimumProblemSize;
Note: See TracChangeset
for help on using the changeset viewer.