Changeset 14711 for branches/PersistenceOverhaul/HeuristicLab.Operators
- Timestamp:
- 03/03/17 11:41:43 (8 years ago)
- Location:
- branches/PersistenceOverhaul/HeuristicLab.Operators/3.3
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/AlgorithmOperator.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("AlgorithmOperator", "An operator which represents an algorithm represented as an operator graph.")] 32 [Storable Class("0DA47AE3-B92E-4191-A609-809C2C0BC3FD")]32 [StorableType("0DA47AE3-B92E-4191-A609-809C2C0BC3FD")] 33 33 public abstract class AlgorithmOperator : SingleSuccessorOperator, IOperatorGraphOperator { 34 34 public static new Image StaticItemImage { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Assigner.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("Assigner", "An operator which clones and assigns the value of one parameter to another parameter.")] 32 [Storable Class("8D56E1A4-6A15-483B-87A6-86CFF35A88FA")]32 [StorableType("8D56E1A4-6A15-483B-87A6-86CFF35A88FA")] 33 33 public sealed class Assigner : SingleSuccessorOperator { 34 34 public LookupParameter<IItem> LeftSideParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/CheckedMultiOperator.cs
r13368 r14711 32 32 /// </summary> 33 33 [Item("CheckedMultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type that can be checked or unchecked.")] 34 [Storable Class("390272F8-3B06-4121-B7F6-2FC713A45613")]34 [StorableType("390272F8-3B06-4121-B7F6-2FC713A45613")] 35 35 public abstract class CheckedMultiOperator<T> : MultiOperator<T>, ICheckedMultiOperator<T> where T : class, IOperator { 36 36 /// <summary> -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/CombinedOperator.cs
r13368 r14711 29 29 /// </summary> 30 30 [Item("CombinedOperator", "An operator which contains an operator graph.")] 31 [Storable Class("CA36B6C6-F597-48CB-863D-AB747F5DCFBA")]31 [StorableType("CA36B6C6-F597-48CB-863D-AB747F5DCFBA")] 32 32 public sealed class CombinedOperator : AlgorithmOperator, IParameterizedItem, IStorableContent { 33 33 public string Filename { get; set; } -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Comparator.cs
r13368 r14711 32 32 /// </summary> 33 33 [Item("Comparator", "An operator which compares two items.")] 34 [Storable Class("8EEAB358-6F38-4A12-A69C-7B0931D956A0")]34 [StorableType("8EEAB358-6F38-4A12-A69C-7B0931D956A0")] 35 35 public sealed class Comparator : SingleSuccessorOperator { 36 36 public LookupParameter<IItem> LeftSideParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ConditionalBranch.cs
r13368 r14711 31 31 /// </summary> 32 32 [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 [Storable Class("96435AD4-759A-4A84-8B21-8ECFBFEC6F13")]33 [StorableType("96435AD4-759A-4A84-8B21-8ECFBFEC6F13")] 34 34 public class ConditionalBranch : SingleSuccessorOperator { 35 35 public LookupParameter<BoolValue> ConditionParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/DataReducer.cs
r13368 r14711 31 31 namespace HeuristicLab.Operators { 32 32 [Item("DataReducer", "An operator to reduce values of sub scopes.")] 33 [Storable Class("D7991E17-265C-4FAA-8531-C6A936EC22DE")]33 [StorableType("D7991E17-265C-4FAA-8531-C6A936EC22DE")] 34 34 public sealed class DataReducer : SingleSuccessorOperator { 35 35 #region Parameter Properties … … 95 95 CalculateResult(values.OfType<BoolValue>().Select(x => x.Value), values.First().GetType()); 96 96 } 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())); 98 98 } 99 99 -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/DoubleCounter.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("DoubleCounter", "An operator which increments a double variable.")] 33 [Storable Class("6FE77FC5-721E-41D0-9B9F-56DC03DC7F85")]33 [StorableType("6FE77FC5-721E-41D0-9B9F-56DC03DC7F85")] 34 34 public sealed class DoubleCounter : SingleSuccessorOperator { 35 35 public LookupParameter<DoubleValue> ValueParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/EmptyOperator.cs
r13368 r14711 29 29 /// </summary> 30 30 [Item("EmptyOperator", "An operator which represents an empty statement.")] 31 [Storable Class("3CCA00D5-66E5-41C2-BC39-55456C8E9DBF")]31 [StorableType("3CCA00D5-66E5-41C2-BC39-55456C8E9DBF")] 32 32 public sealed class EmptyOperator : SingleSuccessorOperator { 33 33 [StorableConstructor] -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/InstrumentedOperator.cs
r13368 r14711 29 29 namespace HeuristicLab.Operators { 30 30 [Item("InstrumentedOperator", "A operator that can execute pre- and post actions.")] 31 [Storable Class("FDEF0E46-ABA1-4443-BD29-F8EA61B1EBDF")]31 [StorableType("FDEF0E46-ABA1-4443-BD29-F8EA61B1EBDF")] 32 32 public abstract class InstrumentedOperator : SingleSuccessorOperator, IInstrumentedOperator { 33 33 private const string BeforeExecutionOperatorsParameterName = "BeforeExecutionOperators"; -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/IntCounter.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("IntCounter", "An operator which increments an integer variable.")] 33 [Storable Class("361DDA4F-F594-443B-BC05-4BA4E17573DD")]33 [StorableType("361DDA4F-F594-443B-BC05-4BA4E17573DD")] 34 34 public sealed class IntCounter : SingleSuccessorOperator { 35 35 -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/LocalRandomCreator.cs
r13368 r14711 27 27 namespace HeuristicLab.Operators { 28 28 [Item("LocalRandomCreator", "Creates a local pseudo random number generator from a global random number generator.")] 29 [Storable Class("F079CB55-983E-4684-9CB1-1BAF113D1044")]29 [StorableType("F079CB55-983E-4684-9CB1-1BAF113D1044")] 30 30 public sealed class LocalRandomCreator : SingleSuccessorOperator { 31 31 #region Parameter Properties -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/MultiOperator.cs
r13368 r14711 33 33 /// </summary> 34 34 [Item("MultiOperator", "A base class for operators which apply arbitrary many other operators of a specific type.")] 35 [Storable Class("D80D4423-D474-4AA5-BE44-865FA4BFA6DB")]35 [StorableType("D80D4423-D474-4AA5-BE44-865FA4BFA6DB")] 36 36 public abstract class MultiOperator<T> : InstrumentedOperator, IMultiOperator<T> where T : class, IOperator { 37 37 private List<IValueParameter<T>> operatorParameters; -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Operator.InstrumentedOperatorWrapper.cs
r13368 r14711 38 38 } 39 39 40 [Storable Class("5C935B36-202D-4D7A-A2DD-B6D64240232B")]40 [StorableType("5C935B36-202D-4D7A-A2DD-B6D64240232B")] 41 41 [NonDiscoverableType] 42 42 private class InstrumentedOperatorWrapper : Operator { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Operator.cs
r13368 r14711 33 33 /// </summary> 34 34 [Item("Operator", "Base class for operators.")] 35 [Storable Class("F8B16EE9-3E8C-49CC-8338-91A145EAEE71")]35 [StorableType("F8B16EE9-3E8C-49CC-8338-91A145EAEE71")] 36 36 public abstract partial class Operator : ParameterizedNamedItem, IOperator, IStatefulItem { 37 37 public static new Image StaticItemImage { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/Placeholder.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("Placeholder", "An operator which acts as a placeholder for another operator retrieved from the scope or a parent execution context.")] 32 [Storable Class("BCF647D0-D7C9-4700-BA83-3215E0739640")]32 [StorableType("BCF647D0-D7C9-4700-BA83-3215E0739640")] 33 33 public sealed class Placeholder : SingleSuccessorOperator { 34 34 public LookupParameter<IOperator> OperatorParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ReductionOperation.cs
r13368 r14711 40 40 41 41 [Item("ReductionOperation", "Represents a certain type of reduction operation.")] 42 [Storable Class("8081DEA1-DC50-4EEA-8A33-C0B087A923C6")]42 [StorableType("8081DEA1-DC50-4EEA-8A33-C0B087A923C6")] 43 43 public class ReductionOperation : ValueTypeValue<ReductionOperations> { 44 44 public static new Image StaticItemImage { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ScopeCleaner.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("ScopeCleaner", "An operator which removes all variables and sub-scopes from the current scope.")] 32 [Storable Class("5B93D108-D4C8-46DC-9A16-E88D807F7E2C")]32 [StorableType("5B93D108-D4C8-46DC-9A16-E88D807F7E2C")] 33 33 public sealed class ScopeCleaner : SingleSuccessorOperator { 34 34 private ScopeParameter CurrentScopeParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SingleSuccessorOperator.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("SingleSuccessorOperator", "A base class for operators which have only one successor.")] 32 [Storable Class("DABF9631-9C35-4B5F-AFE1-49FE739EF489")]32 [StorableType("DABF9631-9C35-4B5F-AFE1-49FE739EF489")] 33 33 public abstract class SingleSuccessorOperator : Operator { 34 34 protected OperatorParameter SuccessorParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/StochasticBranch.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("StochasticBranch", "A branch of two operators which are executed with a specified probability.")] 33 [Storable Class("71002B7E-5343-4D1A-9256-5AB82CA70A75")]33 [StorableType("71002B7E-5343-4D1A-9256-5AB82CA70A75")] 34 34 public class StochasticBranch : SingleSuccessorOperator { 35 35 public LookupParameter<IRandom> RandomParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs
r13386 r14711 35 35 /// </summary> 36 36 [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")] 37 [Storable Class("7FF6CB0B-F831-4A97-A8D3-40EBF6BE78B6")]37 [StorableType("7FF6CB0B-F831-4A97-A8D3-40EBF6BE78B6")] 38 38 public abstract class StochasticMultiBranch<T> : CheckedMultiOperator<T> where T : class, IOperator { 39 39 /// <summary> … … 176 176 /// </summary> 177 177 [Item("StochasticMultiBranch", "Selects one of its branches (if there are any) given a list of relative probabilities.")] 178 [Storable Class("7DE99E47-6B7D-4AE3-A8B8-0D7C9B82F3EE")]178 [StorableType("7DE99E47-6B7D-4AE3-A8B8-0D7C9B82F3EE")] 179 179 public class StochasticMultiBranch : StochasticMultiBranch<IOperator> { 180 180 [StorableConstructor] -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCloner.cs
r13368 r14711 35 35 /// </summary> 36 36 [Item("SubScopesCloner", "An operator which creates multiple copies of the subscopes of the current scope.")] 37 [Storable Class("6C2BED7F-FF9E-48D3-AB7F-8381D19CBB66")]37 [StorableType("6C2BED7F-FF9E-48D3-AB7F-8381D19CBB66")] 38 38 public class SubScopesCloner : SingleSuccessorOperator { 39 39 private ScopeParameter CurrentScopeParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCounter.cs
r13368 r14711 28 28 namespace HeuristicLab.Operators { 29 29 [Item("SubScopesCounter", "Counts the number of direct sub-scopes and increments or assigns it to the value given in the parameter.")] 30 [Storable Class("27FC30EB-7334-4661-B448-35F1CC23900D")]30 [StorableType("27FC30EB-7334-4661-B448-35F1CC23900D")] 31 31 public class SubScopesCounter : SingleSuccessorOperator { 32 32 -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesCreator.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("SubScopesCreator", "An operator which adds new and empty sub-scopes to the current scope.")] 33 [Storable Class("6D93D315-282B-4909-B446-B3285EBE7C60")]33 [StorableType("6D93D315-282B-4909-B446-B3285EBE7C60")] 34 34 public class SubScopesCreator : SingleSuccessorOperator { 35 35 public ValueLookupParameter<IntValue> NumberOfSubScopesParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesMixer.cs
r13368 r14711 32 32 /// </summary> 33 33 [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 [Storable Class("9005F797-A822-4EED-81B6-041A56C21B45")]34 [StorableType("9005F797-A822-4EED-81B6-041A56C21B45")] 35 35 public class SubScopesMixer : SingleSuccessorOperator { 36 36 public ValueParameter<IntValue> PartitionsParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesProcessor.cs
r13368 r14711 34 34 /// </summary> 35 35 [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 [Storable Class("E3A2E58D-FDAA-4180-8044-920C909B7026")]36 [StorableType("E3A2E58D-FDAA-4180-8044-920C909B7026")] 37 37 public sealed class SubScopesProcessor : MultiOperator<IOperator> { 38 38 public ValueLookupParameter<BoolValue> ParallelParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesRemover.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("SubScopesRemover", "An operator which removes all sub-scopes or one specified sub-scope from the current scope.")] 33 [Storable Class("19DD72A6-3F1D-4530-916B-205AC44F80E9")]33 [StorableType("19DD72A6-3F1D-4530-916B-205AC44F80E9")] 34 34 public sealed class SubScopesRemover : SingleSuccessorOperator { 35 35 private ValueParameter<BoolValue> RemoveAllSubScopesParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/SubScopesSorter.cs
r13368 r14711 31 31 /// </summary> 32 32 [Item("SubScopesSorter", "An operator which sorts the sub-scopes of the current scope.")] 33 [Storable Class("08E92413-9B41-43B2-B6B4-EF43408EF884")]33 [StorableType("08E92413-9B41-43B2-B6B4-EF43408EF884")] 34 34 public sealed class SubScopesSorter : SingleSuccessorOperator { 35 35 private bool descending; -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/UniformSubScopesProcessor.cs
r13368 r14711 33 33 /// </summary> 34 34 [Item("UniformSubScopesProcessor", "An operator which applies a specified operator on all sub-scopes at the given depth of the current scope.")] 35 [Storable Class("FAB54AD1-609F-483C-B9BC-10CB9BE09F4A")]35 [StorableType("FAB54AD1-609F-483C-B9BC-10CB9BE09F4A")] 36 36 public sealed class UniformSubScopesProcessor : SingleSuccessorOperator { 37 37 private OperatorParameter OperatorParameter { -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/ValuesCollector.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("ValuesCollector", "An operator which collects the actual values of parameters.")] 32 [Storable Class("E7B463DF-75EC-4B4A-B943-9763961F3500")]32 [StorableType("E7B463DF-75EC-4B4A-B943-9763961F3500")] 33 33 public abstract class ValuesCollector : SingleSuccessorOperator, IOperator { 34 34 [Storable] -
branches/PersistenceOverhaul/HeuristicLab.Operators/3.3/VariableCreator.cs
r13368 r14711 30 30 /// </summary> 31 31 [Item("VariableCreator", "An operator which collects the actual values of parameters and clones them into the current scope.")] 32 [Storable Class("26D44397-C5F5-45CE-8AF9-49D625E52859")]32 [StorableType("26D44397-C5F5-45CE-8AF9-49D625E52859")] 33 33 public class VariableCreator : ValuesCollector { 34 34 protected ScopeParameter CurrentScopeParameter {
Note: See TracChangeset
for help on using the changeset viewer.