Changeset 17434 for branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators
- Timestamp:
- 02/11/20 13:36:02 (5 years ago)
- Location:
- branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterCrossoverOperator.cs
r14574 r17434 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 26 27 27 28 namespace HeuristicLab.EvolutionTracking { 28 [StorableClass]29 29 [Item("AfterCrossoverOperator", "A generic operator that can record genealogical relationships between crossover parents and children.")] 30 [StorableType("E43B0F0A-998D-4CD1-A030-B2A927086433")] 30 31 public class AfterCrossoverOperator<T> : EvolutionTrackingOperator<T>, ICrossoverOperator<T> where T : class, IItem { 31 32 private const string ParentsParameterName = "Parents"; … … 46 47 } 47 48 [StorableConstructor] 48 protected AfterCrossoverOperator( bool deserializing) : base(deserializing) { }49 protected AfterCrossoverOperator(StorableConstructorFlag _) : base(_) { } 49 50 50 51 public AfterCrossoverOperator() { -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterManipulatorOperator.cs
r11227 r17434 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 26 27 27 28 namespace HeuristicLab.EvolutionTracking { 28 [StorableClass]29 29 [Item("AfterCrossoverOperator", "Performs an action after the crossover operator is applied.")] 30 [StorableType("DF888AB7-709A-41BD-A201-F026CE4DB8F4")] 30 31 public class AfterManipulatorOperator<T> : EvolutionTrackingOperator<T>, IManipulatorOperator<T> where T : class,IItem { 31 32 private const string ChildParameterName = "Child"; … … 42 43 } 43 44 [StorableConstructor] 44 protected AfterManipulatorOperator( bool deserializing) : base(deserializing) { }45 protected AfterManipulatorOperator(StorableConstructorFlag _) : base(_) { } 45 46 46 47 public AfterManipulatorOperator() { -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/AfterSolutionCreatorOperator.cs
r10650 r17434 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Core; 23 24 using HeuristicLab.Parameters; … … 25 26 26 27 namespace HeuristicLab.EvolutionTracking.Operators { 27 [StorableClass]28 28 [Item("AfterSolutionCreatorOperator", "An operator that runs after the solution creator and performs additional actions.")] 29 [StorableType("A5B1528D-336B-48CF-8F74-8F2322F8A136")] 29 30 public class AfterSolutionCreatorOperator<T> : EvolutionTrackingOperator<T> 30 31 where T : class,IItem { -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/BeforeCrossoverOperator.cs
r11858 r17434 22 22 using System; 23 23 using System.Linq; 24 using HEAL.Attic; 24 25 using HeuristicLab.Common; 25 26 using HeuristicLab.Core; … … 29 30 30 31 namespace HeuristicLab.EvolutionTracking { 31 [StorableClass]32 32 [Item("BeforeCrossoverOperator", "A generic operator that can record genealogical relationships between crossover parents and children.")] 33 [StorableType("A44A9100-AD1D-459C-A45A-CE7C1B894E71")] 33 34 public class BeforeCrossoverOperator<T> : EvolutionTrackingOperator<T>, ICrossoverOperator<T> where T : class,IItem { 34 35 private const string ParentsParameterName = "Parents"; … … 55 56 56 57 [StorableConstructor] 57 protected BeforeCrossoverOperator( bool deserializing) : base(deserializing) { }58 protected BeforeCrossoverOperator(StorableConstructorFlag _) : base(_) { } 58 59 59 60 public BeforeCrossoverOperator() { -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/BeforeManipulatorOperator.cs
r13527 r17434 21 21 22 22 using System.Linq; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; … … 27 28 28 29 namespace HeuristicLab.EvolutionTracking { 29 [StorableClass]30 30 [Item("AfterCrossoverOperator", "Performs an action after the crossover operator is applied.")] 31 [StorableType("78C5698A-39B8-4158-83F6-7E6CFAF5BD2A")] 31 32 public class BeforeManipulatorOperator<T> : EvolutionTrackingOperator<T>, IManipulatorOperator<T> where T : class, IItem { 32 33 private const string ChildParameterName = "Child"; … … 45 46 46 47 [StorableConstructor] 47 protected BeforeManipulatorOperator( bool deserializing) : base(deserializing) { }48 protected BeforeManipulatorOperator(StorableConstructorFlag _) : base(_) { } 48 49 49 50 public BeforeManipulatorOperator() { -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/EvolutionTrackingOperator.cs
r12951 r17434 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; … … 30 31 namespace HeuristicLab.EvolutionTracking { 31 32 [Item("EvolutionTrackingOperator", "A base operator which facilitates access to the genealogy graph.")] 32 [Storable Class]33 [StorableType("27D4603D-0EDC-4C77-9AB9-ED10CA6D4613")] 33 34 public class EvolutionTrackingOperator<T> : SingleSuccessorOperator where T : class, IItem { 34 35 // evolution tracking-related parameters … … 73 74 } 74 75 [StorableConstructor] 75 protected EvolutionTrackingOperator( bool deserializing) : base(deserializing) { }76 protected EvolutionTrackingOperator(StorableConstructorFlag _) : base(_) { } 76 77 } 77 78 } -
branches/1772_HeuristicLab.EvolutionTracking/HeuristicLab.EvolutionTracking/3.4/Operators/RemovePopulationGraphFromResults.cs
r16131 r17434 1 using HeuristicLab.Common; 1 using HEAL.Attic; 2 using HeuristicLab.Common; 2 3 using HeuristicLab.Core; 3 4 using HeuristicLab.Operators; … … 12 13 13 14 namespace HeuristicLab.EvolutionTracking.Operators { 14 [StorableClass]15 15 [Item("RemovePopulationGraphFromResultsOperator", "In some cases the genealogy graph is necessary during the run but to save memory it should be removed from the results at the end of the run.")] 16 [StorableType("5F5FEAAD-DA7C-4C8C-A9B3-B4DE30B64C51")] 16 17 public class RemovePopulationGraphFromResultsOperator : SingleSuccessorOperator { 17 18 … … 23 24 24 25 [StorableConstructor] 25 protected RemovePopulationGraphFromResultsOperator( bool deserializing) : base(deserializing) { }26 protected RemovePopulationGraphFromResultsOperator(StorableConstructorFlag _) : base(_) { } 26 27 27 28 [StorableHook(HookType.AfterDeserialization)]
Note: See TracChangeset
for help on using the changeset viewer.