Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Problem.cs
r16453 r16462 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;31 using HEAL.Fossil; 32 32 33 33 … … 35 35 [Item("Artificial Ant Problem", "Represents the Artificial Ant problem.")] 36 36 [Creatable(CreatableAttribute.Categories.GeneticProgrammingProblems, Priority = 170)] 37 [Storable Class]37 [StorableType("D365171B-7077-4CC2-835C-1827EA67C843")] 38 38 public sealed class Problem : SymbolicExpressionTreeProblem, IStorableContent { 39 39 … … 105 105 // persistence 106 106 [StorableConstructor] 107 private Problem( bool deserializing) : base(deserializing) { }107 private Problem(StorableConstructorFlag _) : base(_) { } 108 108 [StorableHook(HookType.AfterDeserialization)] 109 109 private void AfterDeserialization() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Problems.GeneticProgramming/3.3/ArtificialAnt/Trail.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 29 29 namespace HeuristicLab.Problems.GeneticProgramming.ArtificialAnt { … … 32 32 /// </summary> 33 33 [Item("AntTrail", "Represents a trail of an artificial ant which can be visualized in the GUI.")] 34 [Storable Class]34 [StorableType("6C666B13-1A69-4924-9ED7-4AC06151FDC6")] 35 35 public sealed class Solution : Item { 36 36 public static new Image StaticItemImage { … … 55 55 #region item cloning and persistence 56 56 [StorableConstructor] 57 private Solution( bool deserializing) : base(deserializing) { }57 private Solution(StorableConstructorFlag _) : base(_) { } 58 58 [StorableHook(HookType.AfterDeserialization)] 59 59 private void AfterDeserialization() { }
Note: See TracChangeset
for help on using the changeset viewer.