- Timestamp:
- 03/28/19 17:19:09 (6 years ago)
- Location:
- branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/Decoder/JSMDecoder.cs
r13469 r16725 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HEAL.Attic; 25 26 using HeuristicLab.Common; 26 27 using HeuristicLab.Core; … … 28 29 using HeuristicLab.Encodings.PermutationEncoding; 29 30 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;31 31 using HeuristicLab.Random; 32 32 33 33 namespace HeuristicLab.Encodings.ScheduleEncoding { 34 34 [Item("JobSequenceMatrixDecoder", "Applies the GifflerThompson algorithm to create an active schedule from a JobSequence Matrix.")] 35 [Storable Class]35 [StorableType("BBE354C2-7599-43CC-ACDC-F8F0F65BE3F5")] 36 36 public class JSMDecoder : ScheduleDecoder<JSMEncoding> { 37 37 … … 52 52 53 53 [StorableConstructor] 54 protected JSMDecoder( bool deserializing) : base(deserializing) { }54 protected JSMDecoder(StorableConstructorFlag _) : base(_) { } 55 55 protected JSMDecoder(JSMDecoder original, Cloner cloner) : base(original, cloner) { } 56 56 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/JobSequenceMatrix/JobSequenceMatrixEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("9C090369-0214-42E6-8C3E-369751F5A9E1")] 34 34 public sealed class JobSequenceMatrixEncoding : ScheduleEncoding<JSMEncoding> { 35 35 [StorableConstructor] 36 private JobSequenceMatrixEncoding( bool deserializing) : base(deserializing) { }36 private JobSequenceMatrixEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private JobSequenceMatrixEncoding(JobSequenceMatrixEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/Decoder/PWRDecoder.cs
r13469 r16725 20 20 #endregion 21 21 22 using System;22 using HEAL.Attic; 23 23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 25 27 26 namespace HeuristicLab.Encodings.ScheduleEncoding { 28 27 [Item("PWRDecoder", "An item used to convert a PWR-individual into a generalized schedule.")] 29 [Storable Class]28 [StorableType("60D171BE-9704-40E1-9C63-0E56D95403CD")] 30 29 public class PWRDecoder : ScheduleDecoder<PWREncoding> { 31 30 [StorableConstructor] 32 protected PWRDecoder( bool deserializing) : base(deserializing) { }31 protected PWRDecoder(StorableConstructorFlag _) : base(_) { } 33 32 protected PWRDecoder(PWRDecoder original, Cloner cloner) : base(original, cloner) { } 34 33 public PWRDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PermutationWithRepetition/PermutationWithRepetitionEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("468EF506-0749-469B-B9B9-36655AA0178D")] 34 34 public sealed class PermutationWithRepetitionEncoding : ScheduleEncoding<PWREncoding> { 35 35 [StorableConstructor] 36 private PermutationWithRepetitionEncoding( bool deserializing) : base(deserializing) { }36 private PermutationWithRepetitionEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private PermutationWithRepetitionEncoding(PermutationWithRepetitionEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PriorityRulesVector/Decoder/PRVDecoder.cs
r13469 r16725 21 21 22 22 using System.Linq; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;26 26 using HeuristicLab.Random; 27 27 28 28 namespace HeuristicLab.Encodings.ScheduleEncoding { 29 29 [Item("JobSequencingMatrixDecoder", "Applies the GifflerThompson algorithm to create an active schedule from a JobSequencing Matrix.")] 30 [Storable Class]30 [StorableType("2D059957-AC7C-4B33-BADE-96706AEBAF29")] 31 31 public class PRVDecoder : ScheduleDecoder<PRVEncoding> { 32 32 #region Priority Rules … … 158 158 159 159 [StorableConstructor] 160 protected PRVDecoder( bool deserializing) : base(deserializing) { }160 protected PRVDecoder(StorableConstructorFlag _) : base(_) { } 161 161 protected PRVDecoder(PRVDecoder original, Cloner cloner) : base(original, cloner) { } 162 162 public PRVDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/PriorityRulesVector/PriorityRulesVectorEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 30 using HeuristicLab.Data; 30 31 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;32 32 using HeuristicLab.PluginInfrastructure; 33 33 34 34 namespace HeuristicLab.Encodings.ScheduleEncoding { 35 [Storable Class]35 [StorableType("9C419EE5-F3A8-4F06-8263-7D37D3AE1C72")] 36 36 public sealed class PriorityRulesVectorEncoding : ScheduleEncoding<PRVEncoding> { 37 37 … … 53 53 54 54 [StorableConstructor] 55 private PriorityRulesVectorEncoding( bool deserializing) : base(deserializing) { }55 private PriorityRulesVectorEncoding(StorableConstructorFlag _) : base(_) { } 56 56 private PriorityRulesVectorEncoding(PriorityRulesVectorEncoding original, Cloner cloner) : base(original, cloner) { } 57 57 public override IDeepCloneable Clone(Cloner cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleDecoder.cs
r13469 r16725 21 21 22 22 using System; 23 using HEAL.Attic; 23 24 using HeuristicLab.Common; 24 25 using HeuristicLab.Core; 25 26 using HeuristicLab.Operators; 26 27 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;28 28 29 29 namespace HeuristicLab.Encodings.ScheduleEncoding { 30 30 [Item("ScheduleDecoder", "A schedule decoder translates a respresentation into an actual schedule.")] 31 [Storable Class]31 [StorableType("57A68F4B-4B35-4DB4-9B5E-D5154DD46E45")] 32 32 public abstract class ScheduleDecoder<TSchedule> : SingleSuccessorOperator, IScheduleDecoder<TSchedule> 33 33 where TSchedule : class, ISchedule { … … 44 44 45 45 [StorableConstructor] 46 protected ScheduleDecoder( bool deserializing) : base(deserializing) { }46 protected ScheduleDecoder(StorableConstructorFlag _) : base(_) { } 47 47 protected ScheduleDecoder(ScheduleDecoder<TSchedule> original, Cloner cloner) : base(original, cloner) { } 48 48 public ScheduleDecoder() -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding.cs
r13469 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; … … 30 31 using HeuristicLab.Optimization; 31 32 using HeuristicLab.Parameters; 32 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;33 33 34 34 namespace HeuristicLab.Encodings.ScheduleEncoding { 35 [Storable Class]35 [StorableType("D2FB1AF9-EF13-4ED2-B3E9-D5BE4E5772EA")] 36 36 public abstract class ScheduleEncoding<TSchedule> : Encoding<TSchedule>, IScheduleEncoding 37 37 where TSchedule : class, ISchedule { … … 119 119 120 120 [StorableConstructor] 121 protected ScheduleEncoding( bool deserializing) : base(deserializing) { }121 protected ScheduleEncoding(StorableConstructorFlag _) : base(_) { } 122 122 protected ScheduleEncoding(ScheduleEncoding<TSchedule> original, Cloner cloner) 123 123 : base(original, cloner) { -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Decoder/DirectScheduleDecoder.cs
r13469 r16725 20 20 #endregion 21 21 22 using HEAL.Attic; 22 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;25 25 26 26 namespace HeuristicLab.Encodings.ScheduleEncoding { 27 27 [Item("DirectScheduleDecoder", "An item used to convert a direct schedule into a generalized schedule.")] 28 [Storable Class]28 [StorableType("151C772B-6E6C-40D9-B171-F5626C676A5F")] 29 29 public class DirectScheduleDecoder : ScheduleDecoder<Schedule> { 30 30 [StorableConstructor] 31 protected DirectScheduleDecoder( bool deserializing) : base(deserializing) { }31 protected DirectScheduleDecoder(StorableConstructorFlag _) : base(_) { } 32 32 protected DirectScheduleDecoder(DirectScheduleDecoder original, Cloner cloner) : base(original, cloner) { } 33 33 public DirectScheduleDecoder() : base() { } -
branches/2521_ProblemRefactoring/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/DirectScheduleEncoding.cs
r13443 r16725 25 25 using System.Collections.Generic; 26 26 using System.Linq; 27 using HEAL.Attic; 27 28 using HeuristicLab.Common; 28 29 using HeuristicLab.Core; 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;30 30 using HeuristicLab.PluginInfrastructure; 31 31 32 32 namespace HeuristicLab.Encodings.ScheduleEncoding { 33 [Storable Class]33 [StorableType("BB1BD851-3E77-4357-942C-EAF5BE6760B4")] 34 34 public sealed class DirectScheduleEncoding : ScheduleEncoding<Schedule> { 35 35 [StorableConstructor] 36 private DirectScheduleEncoding( bool deserializing) : base(deserializing) { }36 private DirectScheduleEncoding(StorableConstructorFlag _) : base(_) { } 37 37 private DirectScheduleEncoding(DirectScheduleEncoding original, Cloner cloner) : base(original, cloner) { } 38 38 public override IDeepCloneable Clone(Cloner cloner) {
Note: See TracChangeset
for help on using the changeset viewer.