Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

Location:
branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Crossovers/DirectScheduleCrossover.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding {
    2828  [Item("DirectScheduleCrossover", "An operator which crosses two schedule representations.")]
    29   [StorableClass]
     29  [StorableType("af26fa0e-cee7-41e5-9182-469ba6920501")]
    3030  public abstract class DirectScheduleCrossover : ScheduleCrossover, IDirectScheduleOperator {
    3131    [StorableConstructor]
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Crossovers/DirectScheduleGTCrossover.cs

    r14185 r14927  
    2424using HeuristicLab.Data;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding {
    2929  [Item("DirectScheduleGTCrossover", "Represents a crossover using the GT-Algorithm to cross two direct schedule representations.")]
    30   [StorableClass]
     30  [StorableType("cddd9baf-a6c7-45c4-826c-826d9f4e4283")]
    3131  public class DirectScheduleGTCrossover : DirectScheduleCrossover {
    3232
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/DirectScheduleRandomCreator.cs

    r14185 r14927  
    2727using HeuristicLab.Optimization;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030
    3131
    3232namespace HeuristicLab.Encodings.ScheduleEncoding {
    3333  [Item("DirectScheduleRandomCreator", "Creator class used to create schedule encoding objects.")]
    34   [StorableClass]
     34  [StorableType("c16e476d-e118-4864-bff9-08598ea7322e")]
    3535  public class DirectScheduleRandomCreator : ScheduleCreator, IStochasticOperator {
    3636
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Job.cs

    r14185 r14927  
    2626using HeuristicLab.Common;
    2727using HeuristicLab.Core;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Encodings.ScheduleEncoding {
    3131  [Item("Job", "Represents a composition of tasks that require processing in a scheduling problem.")]
    32   [StorableClass]
     32  [StorableType("a696bab6-1dc7-42a1-849c-676c6cdeaec2")]
    3333  public class Job : Item, INotifyPropertyChanged {
    3434
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Manipulators/DirectScheduleManipulator.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.ScheduleEncoding.ScheduleEncoding {
    2828  [Item("DirectScheduleManipulator", "An operator which manipulates a direct schedule representation.")]
    29   [StorableClass]
     29  [StorableType("c400d10b-0b81-4d72-b37f-22a29cd1a05d")]
    3030  public abstract class DirectScheduleManipulator : ScheduleManipulator, IDirectScheduleOperator {
    3131
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Resource.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.ScheduleEncoding {
    2828  [Item("ResourceClass", "Represents a resource used in scheduling problems.")]
    29   [StorableClass]
     29  [StorableType("24ca8368-4854-40ee-a9c2-8f643916fc02")]
    3030  public class Resource : Item {
    3131
     
    7373      sb.Append("Resource#" + Index + " [ ");
    7474      foreach (ScheduledTask t in Tasks) {
    75         sb.Append(t+ " ");
     75        sb.Append(t + " ");
    7676      }
    7777      sb.Append("]");
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Schedule.cs

    r14185 r14927  
    2626using HeuristicLab.Core;
    2727using HeuristicLab.Data;
    28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     28using HeuristicLab.Persistence;
    2929
    3030namespace HeuristicLab.Encodings.ScheduleEncoding {
    3131  [Item("Schedule", "Represents the general solution for scheduling problems.")]
    32   [StorableClass]
     32  [StorableType("e51621cf-e308-499d-980c-933586795420")]
    3333  public sealed class Schedule : NamedItem, IScheduleEncoding {
    3434
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/ScheduledTask.cs

    r14185 r14927  
    2323using HeuristicLab.Common;
    2424using HeuristicLab.Core;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626
    2727namespace HeuristicLab.Encodings.ScheduleEncoding {
    2828  [Item("ScheduledTask", "Represents a task that has been scheduled already.")]
    29   [StorableClass]
     29  [StorableType("0e317405-0f4c-4929-beda-bccecdc768d6")]
    3030  public class ScheduledTask : Item {
    3131
  • branches/PersistenceReintegration/HeuristicLab.Encodings.ScheduleEncoding/3.3/ScheduleEncoding/Task.cs

    r14185 r14927  
    2424using HeuristicLab.Common;
    2525using HeuristicLab.Core;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727
    2828namespace HeuristicLab.Encodings.ScheduleEncoding {
    2929  [Item("Task", "Represents a task that has to be scheduled.")]
    30   [StorableClass]
     30  [StorableType("723913bc-a343-467d-b0e8-4d4128a80d2c")]
    3131  public class Task : Item, INotifyPropertyChanged {
    3232
Note: See TracChangeset for help on using the changeset viewer.