Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/03/17 11:41:43 (8 years ago)
Author:
gkronber
Message:

#2520

  • renamed StorableClass -> StorableType
  • changed persistence to use GUIDs instead of type names
Location:
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3
Files:
31 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/AlgorithmOperator.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("AlgorithmOperator", "An operator which represents an algorithm represented as an operator graph.")]
    32   [StorableClass("0DA47AE3-B92E-4191-A609-809C2C0BC3FD")]
     32  [StorableType("0DA47AE3-B92E-4191-A609-809C2C0BC3FD")]
    3333  public abstract class AlgorithmOperator : SingleSuccessorOperator, IOperatorGraphOperator {
    3434    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Assigner.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("Assigner", "An operator which clones and assigns the value of one parameter to another parameter.")]
    32   [StorableClass("8D56E1A4-6A15-483B-87A6-86CFF35A88FA")]
     32  [StorableType("8D56E1A4-6A15-483B-87A6-86CFF35A88FA")]
    3333  public sealed class Assigner : SingleSuccessorOperator {
    3434    public LookupParameter<IItem> LeftSideParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/CheckedMultiOperator.cs

    r13368 r14711  
    3232  /// </summary>
    3333  [Item("CheckedMultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type that can be checked or unchecked.")]
    34   [StorableClass("390272F8-3B06-4121-B7F6-2FC713A45613")]
     34  [StorableType("390272F8-3B06-4121-B7F6-2FC713A45613")]
    3535  public abstract class CheckedMultiOperator<T> : MultiOperator<T>, ICheckedMultiOperator<T> where T : class, IOperator {
    3636    /// <summary>
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/CombinedOperator.cs

    r13368 r14711  
    2929  /// </summary>
    3030  [Item("CombinedOperator", "An operator which contains an operator graph.")]
    31   [StorableClass("CA36B6C6-F597-48CB-863D-AB747F5DCFBA")]
     31  [StorableType("CA36B6C6-F597-48CB-863D-AB747F5DCFBA")]
    3232  public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem, IStorableContent {
    3333    public string Filename { get; set; }
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Comparator.cs

    r13368 r14711  
    3232  /// </summary>
    3333  [Item("Comparator", "An operator which compares two items.")]
    34   [StorableClass("8EEAB358-6F38-4A12-A69C-7B0931D956A0")]
     34  [StorableType("8EEAB358-6F38-4A12-A69C-7B0931D956A0")]
    3535  public sealed class Comparator : SingleSuccessorOperator {
    3636    public LookupParameter<IItem> LeftSideParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ConditionalBranch.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("ConditionalBranch", "A branch of two operators whose executions depend on a boolean condition. If the boolean condition is not present, the false branch is executed.")]
    33   [StorableClass("96435AD4-759A-4A84-8B21-8ECFBFEC6F13")]
     33  [StorableType("96435AD4-759A-4A84-8B21-8ECFBFEC6F13")]
    3434  public class ConditionalBranch : SingleSuccessorOperator {
    3535    public LookupParameter<BoolValue> ConditionParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/DataReducer.cs

    r13368 r14711  
    3131namespace HeuristicLab.Operators {
    3232  [Item("DataReducer", "An operator to reduce values of sub scopes.")]
    33   [StorableClass("D7991E17-265C-4FAA-8531-C6A936EC22DE")]
     33  [StorableType("D7991E17-265C-4FAA-8531-C6A936EC22DE")]
    3434  public sealed class DataReducer : SingleSuccessorOperator {
    3535    #region Parameter Properties
     
    9595        CalculateResult(values.OfType<BoolValue>().Select(x => x.Value), values.First().GetType());
    9696      } else {
    97         throw new ArgumentException(string.Format("Type {0} is not supported by the DataReducer.", values.First().GetType()));
     97        throw new ArgumentException(string.Format("MemberSelection {0} is not supported by the DataReducer.", values.First().GetType()));
    9898      }
    9999
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/DoubleCounter.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("DoubleCounter", "An operator which increments a double variable.")]
    33   [StorableClass("6FE77FC5-721E-41D0-9B9F-56DC03DC7F85")]
     33  [StorableType("6FE77FC5-721E-41D0-9B9F-56DC03DC7F85")]
    3434  public sealed class DoubleCounter : SingleSuccessorOperator {
    3535    public LookupParameter<DoubleValue> ValueParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/EmptyOperator.cs

    r13368 r14711  
    2929  /// </summary>
    3030  [Item("EmptyOperator", "An operator which represents an empty statement.")]
    31   [StorableClass("3CCA00D5-66E5-41C2-BC39-55456C8E9DBF")]
     31  [StorableType("3CCA00D5-66E5-41C2-BC39-55456C8E9DBF")]
    3232  public sealed class EmptyOperator : SingleSuccessorOperator {
    3333    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/InstrumentedOperator.cs

    r13368 r14711  
    2929namespace HeuristicLab.Operators {
    3030  [Item("InstrumentedOperator", "A operator that can execute pre- and post actions.")]
    31   [StorableClass("FDEF0E46-ABA1-4443-BD29-F8EA61B1EBDF")]
     31  [StorableType("FDEF0E46-ABA1-4443-BD29-F8EA61B1EBDF")]
    3232  public abstract class InstrumentedOperator : SingleSuccessorOperator, IInstrumentedOperator {
    3333    private const string BeforeExecutionOperatorsParameterName = "BeforeExecutionOperators";
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/IntCounter.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("IntCounter", "An operator which increments an integer variable.")]
    33   [StorableClass("361DDA4F-F594-443B-BC05-4BA4E17573DD")]
     33  [StorableType("361DDA4F-F594-443B-BC05-4BA4E17573DD")]
    3434  public sealed class IntCounter : SingleSuccessorOperator {
    3535
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/LocalRandomCreator.cs

    r13368 r14711  
    2727namespace HeuristicLab.Operators {
    2828  [Item("LocalRandomCreator", "Creates a local pseudo random number generator from a global random number generator.")]
    29   [StorableClass("F079CB55-983E-4684-9CB1-1BAF113D1044")]
     29  [StorableType("F079CB55-983E-4684-9CB1-1BAF113D1044")]
    3030  public sealed class LocalRandomCreator : SingleSuccessorOperator {
    3131    #region Parameter Properties
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/MultiOperator.cs

    r13368 r14711  
    3333  /// </summary>
    3434  [Item("MultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type.")]
    35   [StorableClass("D80D4423-D474-4AA5-BE44-865FA4BFA6DB")]
     35  [StorableType("D80D4423-D474-4AA5-BE44-865FA4BFA6DB")]
    3636  public abstract class MultiOperator<T> : InstrumentedOperator, IMultiOperator<T> where T : class, IOperator {
    3737    private List<IValueParameter<T>> operatorParameters;
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Operator.InstrumentedOperatorWrapper.cs

    r13368 r14711  
    3838    }
    3939
    40     [StorableClass("5C935B36-202D-4D7A-A2DD-B6D64240232B")]
     40    [StorableType("5C935B36-202D-4D7A-A2DD-B6D64240232B")]
    4141    [NonDiscoverableType]
    4242    private class InstrumentedOperatorWrapper : Operator {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Operator.cs

    r13368 r14711  
    3333  /// </summary>
    3434  [Item("Operator", "Base class for operators.")]
    35   [StorableClass("F8B16EE9-3E8C-49CC-8338-91A145EAEE71")]
     35  [StorableType("F8B16EE9-3E8C-49CC-8338-91A145EAEE71")]
    3636  public abstract partial class Operator : ParameterizedNamedItem, IOperator, IStatefulItem {
    3737    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Placeholder.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("Placeholder", "An operator which acts as a placeholder for another operator retrieved from the scope or a parent execution context.")]
    32   [StorableClass("BCF647D0-D7C9-4700-BA83-3215E0739640")]
     32  [StorableType("BCF647D0-D7C9-4700-BA83-3215E0739640")]
    3333  public sealed class Placeholder : SingleSuccessorOperator {
    3434    public LookupParameter<IOperator> OperatorParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ReductionOperation.cs

    r13368 r14711  
    4040
    4141  [Item("ReductionOperation", "Represents a certain type of reduction operation.")]
    42   [StorableClass("8081DEA1-DC50-4EEA-8A33-C0B087A923C6")]
     42  [StorableType("8081DEA1-DC50-4EEA-8A33-C0B087A923C6")]
    4343  public class ReductionOperation : ValueTypeValue<ReductionOperations> {
    4444    public static new Image StaticItemImage {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ScopeCleaner.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("ScopeCleaner", "An operator which removes all variables and sub-scopes from the current scope.")]
    32   [StorableClass("5B93D108-D4C8-46DC-9A16-E88D807F7E2C")]
     32  [StorableType("5B93D108-D4C8-46DC-9A16-E88D807F7E2C")]
    3333  public sealed class ScopeCleaner : SingleSuccessorOperator {
    3434    private ScopeParameter CurrentScopeParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SingleSuccessorOperator.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("SingleSuccessorOperator", "A base class for operators which have only one successor.")]
    32   [StorableClass("DABF9631-9C35-4B5F-AFE1-49FE739EF489")]
     32  [StorableType("DABF9631-9C35-4B5F-AFE1-49FE739EF489")]
    3333  public abstract class SingleSuccessorOperator : Operator {
    3434    protected OperatorParameter SuccessorParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/StochasticBranch.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("StochasticBranch", "A branch of two operators which are executed with a specified probability.")]
    33   [StorableClass("71002B7E-5343-4D1A-9256-5AB82CA70A75")]
     33  [StorableType("71002B7E-5343-4D1A-9256-5AB82CA70A75")]
    3434  public class StochasticBranch : SingleSuccessorOperator {
    3535    public LookupParameter<IRandom> RandomParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs

    r13386 r14711  
    3535  /// </summary>
    3636  [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")]
    37   [StorableClass("7FF6CB0B-F831-4A97-A8D3-40EBF6BE78B6")]
     37  [StorableType("7FF6CB0B-F831-4A97-A8D3-40EBF6BE78B6")]
    3838  public abstract class StochasticMultiBranch<T> : CheckedMultiOperator<T> where T : class, IOperator {
    3939    /// <summary>
     
    176176  /// </summary>
    177177  [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")]
    178   [StorableClass("7DE99E47-6B7D-4AE3-A8B8-0D7C9B82F3EE")]
     178  [StorableType("7DE99E47-6B7D-4AE3-A8B8-0D7C9B82F3EE")]
    179179  public class StochasticMultiBranch : StochasticMultiBranch<IOperator> {
    180180    [StorableConstructor]
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCloner.cs

    r13368 r14711  
    3535  /// </summary>
    3636  [Item("SubScopesCloner", "An operator which creates multiple copies of the subscopes of the current scope.")]
    37   [StorableClass("6C2BED7F-FF9E-48D3-AB7F-8381D19CBB66")]
     37  [StorableType("6C2BED7F-FF9E-48D3-AB7F-8381D19CBB66")]
    3838  public class SubScopesCloner : SingleSuccessorOperator {
    3939    private ScopeParameter CurrentScopeParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCounter.cs

    r13368 r14711  
    2828namespace HeuristicLab.Operators {
    2929  [Item("SubScopesCounter", "Counts the number of direct sub-scopes and increments or assigns it to the value given in the parameter.")]
    30   [StorableClass("27FC30EB-7334-4661-B448-35F1CC23900D")]
     30  [StorableType("27FC30EB-7334-4661-B448-35F1CC23900D")]
    3131  public class SubScopesCounter : SingleSuccessorOperator {
    3232
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCreator.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("SubScopesCreator", "An operator which adds new and empty sub-scopes to the current scope.")]
    33   [StorableClass("6D93D315-282B-4909-B446-B3285EBE7C60")]
     33  [StorableType("6D93D315-282B-4909-B446-B3285EBE7C60")]
    3434  public class SubScopesCreator : SingleSuccessorOperator {
    3535    public ValueLookupParameter<IntValue> NumberOfSubScopesParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesMixer.cs

    r13368 r14711  
    3232  /// </summary>
    3333  [Item("SubScopesMixer", "Changes the order of the sub-scopes by repartitioning the sub-scopes such that each new partition contains one scope from each old partition.")]
    34   [StorableClass("9005F797-A822-4EED-81B6-041A56C21B45")]
     34  [StorableType("9005F797-A822-4EED-81B6-041A56C21B45")]
    3535  public class SubScopesMixer : SingleSuccessorOperator {
    3636    public ValueParameter<IntValue> PartitionsParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesProcessor.cs

    r13368 r14711  
    3434  /// </summary>
    3535  [Item("SubScopesProcessor", "An operator which contains multiple operators of which each is applied on one sub-scope at the given depth of the current scope. The first operator is applied on the first sub-scope, the second on the second, and so on.")]
    36   [StorableClass("E3A2E58D-FDAA-4180-8044-920C909B7026")]
     36  [StorableType("E3A2E58D-FDAA-4180-8044-920C909B7026")]
    3737  public sealed class SubScopesProcessor : MultiOperator<IOperator> {
    3838    public ValueLookupParameter<BoolValue> ParallelParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesRemover.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("SubScopesRemover", "An operator which removes all sub-scopes or one specified sub-scope from the current scope.")]
    33   [StorableClass("19DD72A6-3F1D-4530-916B-205AC44F80E9")]
     33  [StorableType("19DD72A6-3F1D-4530-916B-205AC44F80E9")]
    3434  public sealed class SubScopesRemover : SingleSuccessorOperator {
    3535    private ValueParameter<BoolValue> RemoveAllSubScopesParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesSorter.cs

    r13368 r14711  
    3131  /// </summary>
    3232  [Item("SubScopesSorter", "An operator which sorts the sub-scopes of the current scope.")]
    33   [StorableClass("08E92413-9B41-43B2-B6B4-EF43408EF884")]
     33  [StorableType("08E92413-9B41-43B2-B6B4-EF43408EF884")]
    3434  public sealed class SubScopesSorter : SingleSuccessorOperator {
    3535    private bool descending;
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/UniformSubScopesProcessor.cs

    r13368 r14711  
    3333  /// </summary>
    3434  [Item("UniformSubScopesProcessor", "An operator which applies a specified operator on all sub-scopes at the given depth of the current scope.")]
    35   [StorableClass("FAB54AD1-609F-483C-B9BC-10CB9BE09F4A")]
     35  [StorableType("FAB54AD1-609F-483C-B9BC-10CB9BE09F4A")]
    3636  public sealed class UniformSubScopesProcessor : SingleSuccessorOperator {
    3737    private OperatorParameter OperatorParameter {
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ValuesCollector.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("ValuesCollector", "An operator which collects the actual values of parameters.")]
    32   [StorableClass("E7B463DF-75EC-4B4A-B943-9763961F3500")]
     32  [StorableType("E7B463DF-75EC-4B4A-B943-9763961F3500")]
    3333  public abstract class ValuesCollector : SingleSuccessorOperator, IOperator {
    3434    [Storable]
  • branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/VariableCreator.cs

    r13368 r14711  
    3030  /// </summary>
    3131  [Item("VariableCreator", "An operator which collects the actual values of parameters and clones them into the current scope.")]
    32   [StorableClass("26D44397-C5F5-45CE-8AF9-49D625E52859")]
     32  [StorableType("26D44397-C5F5-45CE-8AF9-49D625E52859")]
    3333  public class VariableCreator : ValuesCollector {
    3434    protected ScopeParameter CurrentScopeParameter {
Note: See TracChangeset for help on using the changeset viewer.