Changeset 16565 for trunk/HeuristicLab.Core/3.3/Collections/DirectedGraph
- Timestamp:
- 01/28/19 13:41:42 (6 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration (added) merged: 16451-16454,16462,16465-16468,16470-16472,16474,16476-16477,16479-16487,16529-16530,16539,16551-16555,16558-16559,16562-16564
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Core
- Property svn:mergeinfo changed
/branches/2520_PersistenceReintegration/HeuristicLab.Core (added) merged: 16452-16454,16462,16474,16480,16484,16529,16539,16558-16559,16563
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.Core/3.3/Collections/DirectedGraph/Arc.cs
r15583 r16565 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. … … 22 22 using System; 23 23 using HeuristicLab.Common; 24 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;24 using HEAL.Attic; 25 25 26 26 namespace HeuristicLab.Core { 27 27 [Item("Arc", "A graph arc connecting two graph vertices, that can have a weight, label, and data object for holding additional info")] 28 [Storable Class]28 [StorableType("E91E40A2-FE77-49F0-866E-5127F3C1AC79")] 29 29 public class Arc : Item, IArc { 30 30 [Storable] … … 58 58 59 59 [StorableConstructor] 60 protected Arc( bool deserializing) : base(deserializing) { }60 protected Arc(StorableConstructorFlag _) : base(_) { } 61 61 62 62 public Arc(IVertex source, IVertex target) { … … 82 82 } 83 83 84 [Storable Class]84 [StorableType("5F06782E-3BD2-4A9D-B030-BE1D6A6B714F")] 85 85 public class Arc<T> : Arc, IArc<T> where T : class, IDeepCloneable { 86 86 [Storable] … … 105 105 } 106 106 107 public Arc(bool deserializing) 108 : base(deserializing) { 107 [StorableConstructor] 108 public Arc(StorableConstructorFlag _) 109 : base(_) { 109 110 } 110 111 -
trunk/HeuristicLab.Core/3.3/Collections/DirectedGraph/DirectedGraph.cs
r15583 r16565 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. … … 26 26 using HeuristicLab.Common; 27 27 using HeuristicLab.Common.Resources; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Attic; 29 29 30 30 namespace HeuristicLab.Core { 31 31 [Item("DirectedGraph", "Generic class representing a directed graph with custom vertices and content")] 32 [Storable Class]32 [StorableType("C7DF8A65-95AE-4D73-950B-27A8086D7DA2")] 33 33 public class DirectedGraph : Item, IDirectedGraph { 34 34 public override Image ItemImage { get { return VSImageLibrary.Graph; } } … … 70 70 71 71 [StorableConstructor] 72 protected DirectedGraph(bool serializing) 73 : base(serializing) { 72 protected DirectedGraph(StorableConstructorFlag _) : base(_) { 74 73 } 75 74 -
trunk/HeuristicLab.Core/3.3/Collections/DirectedGraph/Vertex.cs
r15583 r16565 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. … … 24 24 using System.Linq; 25 25 using HeuristicLab.Common; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Attic; 27 27 28 28 namespace HeuristicLab.Core { 29 29 [Item("Vertex", "An object representing a vertex in the graph. It can have a text label, a weight, and an additional data object.")] 30 [Storable Class]30 [StorableType("3FA3AAFA-05FF-4BE9-BD72-05A822A5E8CC")] 31 31 public class Vertex : Item, IVertex { 32 32 [Storable] … … 67 67 68 68 [StorableConstructor] 69 public Vertex( bool deserializing) : base(deserializing) { }69 public Vertex(StorableConstructorFlag _) : base(_) { } 70 70 71 71 [StorableHook(HookType.AfterDeserialization)] … … 141 141 } 142 142 143 [Storable Class]143 [StorableType("ED2FD106-6F97-415A-A6D0-7F6690426910")] 144 144 public class Vertex<T> : Vertex, IVertex<T> where T : class,IDeepCloneable { 145 145 [Storable] … … 155 155 156 156 [StorableConstructor] 157 protected Vertex( bool deserializing) : base(deserializing) { }157 protected Vertex(StorableConstructorFlag _) : base(_) { } 158 158 159 159 protected Vertex(Vertex<T> original, Cloner cloner)
Note: See TracChangeset
for help on using the changeset viewer.