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.Problems.VehicleRouting/3.4/Encodings/General/Crossovers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/BiasedMultiVRPSolutionCrossover.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232using HeuristicLab.Random;
    3333
    3434namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3535  [Item("BiasedMultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called based on the success progress.")]
    36   [StorableClass]
     36  [StorableType("72061a10-61bd-492f-aca7-b53fedb89eb2")]
    3737  public class BiasedMultiVRPSolutionCrossover : MultiVRPSolutionCrossover {
    3838    public ValueLookupParameter<DoubleArray> ActualProbabilitiesParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/MultiVRPSolutionCrossover.cs

    r14185 r14927  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HeuristicLab.Persistence;
    3232using HeuristicLab.Problems.VehicleRouting.Interfaces;
    3333using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3535namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    3636  [Item("MultiVRPSolutionCrossover", "Randomly selects and applies one of its crossovers every time it is called.")]
    37   [StorableClass]
     37  [StorableType("d55714f7-9ed8-433f-96e8-e2a0754a94c2")]
    3838  public class MultiVRPSolutionCrossover : StochasticMultiBranch<IVRPCrossover>, IVRPCrossover, IGeneralVRPOperator, IMultiVRPOperator, IStochasticOperator {
    3939    public override bool CanChangeName {
  • branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/RandomParentCloneCrossover.cs

    r14185 r14927  
    2424using HeuristicLab.Optimization;
    2525using HeuristicLab.Parameters;
    26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Persistence;
    2727using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2828using HeuristicLab.Problems.VehicleRouting.Variants;
     
    3030namespace HeuristicLab.Problems.VehicleRouting.Encodings.General.Crossovers {
    3131  [Item("RandomParentCloneCrossover", "An operator which randomly chooses one parent and returns a clone.")]
    32   [StorableClass]
     32  [StorableType("8c5d09e4-48e9-4473-af0b-58a49c13378f")]
    3333  public sealed class RandomParentCloneCrossover : VRPOperator, IStochasticOperator, IGeneralVRPOperator, IVRPCrossover {
    3434    public ILookupParameter<IRandom> RandomParameter {
  • branches/PersistenceReintegration/HeuristicLab.Problems.VehicleRouting/3.4/Encodings/General/Crossovers/VRPCrossover.cs

    r14185 r14927  
    2323using HeuristicLab.Core;
    2424using HeuristicLab.Parameters;
    25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     25using HeuristicLab.Persistence;
    2626using HeuristicLab.Problems.VehicleRouting.Interfaces;
    2727
    2828namespace HeuristicLab.Problems.VehicleRouting.Encodings.General {
    2929  [Item("VRPCrossover", "Crosses VRP solutions.")]
    30   [StorableClass]
     30  [StorableType("a1a8e1a1-27a4-4d0e-b5c3-52a00fc8c193")]
    3131  public abstract class VRPCrossover : VRPOperator, IVRPCrossover {
    3232    public ILookupParameter<ItemArray<IVRPEncoding>> ParentsParameter {
Note: See TracChangeset for help on using the changeset viewer.