Changeset 16462 for branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators
- Timestamp:
- 12/28/18 16:10:48 (6 years ago)
- Location:
- branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/ChangeNodeTypeManipulation.cs
r16453 r16462 24 24 using HeuristicLab.Common; 25 25 using HeuristicLab.Core; 26 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;26 using HEAL.Fossil; 27 27 28 28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 29 [Storable Class]29 [StorableType("92D37E9F-8726-4524-AF8F-F3787641F7B9")] 30 30 [Item("ChangeNodeTypeManipulation", "Selects a random tree node and changes the symbol.")] 31 31 public sealed class ChangeNodeTypeManipulation : SymbolicExpressionTreeManipulator { … … 33 33 34 34 [StorableConstructor] 35 private ChangeNodeTypeManipulation( bool deserializing) : base(deserializing) { }35 private ChangeNodeTypeManipulation(StorableConstructorFlag _) : base(_) { } 36 36 private ChangeNodeTypeManipulation(ChangeNodeTypeManipulation original, Cloner cloner) : base(original, cloner) { } 37 37 public ChangeNodeTypeManipulation() : base() { } -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/FullTreeShaker.cs
r16453 r16462 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Data; 25 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;25 using HEAL.Fossil; 26 26 using HeuristicLab.Parameters; 27 27 28 28 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 29 [Storable Class]29 [StorableType("C8864746-308A-49F0-B76F-92D2C7E33574")] 30 30 [Item("FullTreeShaker", "Manipulates all nodes that have local parameters.")] 31 31 public sealed class FullTreeShaker : SymbolicExpressionTreeManipulator { … … 43 43 #endregion 44 44 [StorableConstructor] 45 private FullTreeShaker( bool deserializing) : base(deserializing) { }45 private FullTreeShaker(StorableConstructorFlag _) : base(_) { } 46 46 private FullTreeShaker(FullTreeShaker original, Cloner cloner) : base(original, cloner) { } 47 47 public FullTreeShaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/MultiSymbolicExpressionTreeManipulator.cs
r16453 r16462 30 30 using HeuristicLab.Optimization; 31 31 using HeuristicLab.Parameters; 32 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;32 using HEAL.Fossil; 33 33 using HeuristicLab.PluginInfrastructure; 34 34 35 35 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 36 36 [Item("MultiSymbolicExpressionTreeManipulator", "Randomly selects and applies one of its manipulators every time it is called.")] 37 [Storable Class]37 [StorableType("0A0ED8D8-69D4-4F58-A4FD-6D97F27B4009")] 38 38 public sealed class MultiSymbolicExpressionTreeManipulator : StochasticMultiBranch<ISymbolicExpressionTreeManipulator>, 39 39 ISymbolicExpressionTreeManipulator, … … 64 64 65 65 [StorableConstructor] 66 private MultiSymbolicExpressionTreeManipulator( bool deserializing) : base(deserializing) { }66 private MultiSymbolicExpressionTreeManipulator(StorableConstructorFlag _) : base(_) { } 67 67 private MultiSymbolicExpressionTreeManipulator(MultiSymbolicExpressionTreeManipulator original, Cloner cloner) : base(original, cloner) { } 68 68 public MultiSymbolicExpressionTreeManipulator() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/OnePointShaker.cs
r16453 r16462 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;27 using HEAL.Fossil; 28 28 using HeuristicLab.Random; 29 29 30 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 31 [Storable Class]31 [StorableType("959330FD-85FA-4615-A047-3A1493573A42")] 32 32 [Item("OnePointShaker", "Selects a random node with local parameters and manipulates the selected node.")] 33 33 public sealed class OnePointShaker : SymbolicExpressionTreeManipulator { … … 45 45 #endregion 46 46 [StorableConstructor] 47 private OnePointShaker( bool deserializing) : base(deserializing) { }47 private OnePointShaker(StorableConstructorFlag _) : base(_) { } 48 48 private OnePointShaker(OnePointShaker original, Cloner cloner) : base(original, cloner) { } 49 49 public OnePointShaker() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/RemoveBranchManipulation.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 using HeuristicLab.Random; 30 30 31 31 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 32 [Storable Class]32 [StorableType("639F837E-3AF9-4783-9AC2-0A4DC8991FED")] 33 33 [Item("RemoveBranchManipulation", "Removes a random sub-tree of the input tree and fixes the tree by generating random subtrees if necessary..")] 34 34 public sealed class RemoveBranchManipulation : SymbolicExpressionTreeManipulator, ISymbolicExpressionTreeSizeConstraintOperator { … … 54 54 55 55 [StorableConstructor] 56 private RemoveBranchManipulation( bool deserializing) : base(deserializing) { }56 private RemoveBranchManipulation(StorableConstructorFlag _) : base(_) { } 57 57 private RemoveBranchManipulation(RemoveBranchManipulation original, Cloner cloner) : base(original, cloner) { } 58 58 public RemoveBranchManipulation() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/ReplaceBranchManipulation.cs
r16453 r16462 26 26 using HeuristicLab.Data; 27 27 using HeuristicLab.Parameters; 28 using H euristicLab.Persistence.Default.CompositeSerializers.Storable;28 using HEAL.Fossil; 29 29 30 30 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 31 [Storable Class]31 [StorableType("92286134-0520-4A1E-B8EE-01AFAD55C3AE")] 32 32 [Item("ReplaceBranchManipulation", "Selects a branch of the tree randomly and replaces it with a newly initialized branch (using PTC2).")] 33 33 public sealed class ReplaceBranchManipulation : SymbolicExpressionTreeManipulator, ISymbolicExpressionTreeSizeConstraintOperator { … … 53 53 54 54 [StorableConstructor] 55 private ReplaceBranchManipulation( bool deserializing) : base(deserializing) { }55 private ReplaceBranchManipulation(StorableConstructorFlag _) : base(_) { } 56 56 private ReplaceBranchManipulation(ReplaceBranchManipulation original, Cloner cloner) : base(original, cloner) { } 57 57 public ReplaceBranchManipulation() -
branches/2520_PersistenceReintegration/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Manipulators/SymbolicExpressionTreeManipulator.cs
r16453 r16462 22 22 using HeuristicLab.Common; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Parameters; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 24 using HEAL.Fossil; 26 25 27 26 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { … … 30 29 /// </summary> 31 30 [Item("SymbolicExpressionTreeManipulator", "A base class for operators that manipulate symbolic expression trees.")] 32 [Storable Class]31 [StorableType("9391A979-616B-4808-80E7-99D8802599AF")] 33 32 public abstract class SymbolicExpressionTreeManipulator : SymbolicExpressionTreeOperator, ISymbolicExpressionTreeManipulator { 34 33 [StorableConstructor] 35 protected SymbolicExpressionTreeManipulator( bool deserializing) : base(deserializing) { }34 protected SymbolicExpressionTreeManipulator(StorableConstructorFlag _) : base(_) { } 36 35 protected SymbolicExpressionTreeManipulator(SymbolicExpressionTreeManipulator original, Cloner cloner) : base(original, cloner) { } 37 36 public SymbolicExpressionTreeManipulator()
Note: See TracChangeset
for help on using the changeset viewer.