- Timestamp:
- 05/04/17 17:19:35 (8 years ago)
- Location:
- branches/PersistenceReintegration/HeuristicLab.Selection/3.3
- Files:
-
- 27 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/BestSelector.cs
r14185 r14927 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("BestSelector", "A selection operator which considers a single double quality value and selects the best.")] 36 [Storable Class]36 [StorableType("4c31cd0b-5ce8-4ef9-ba22-9b4b314f7e50")] 37 37 public sealed class BestSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 38 38 public BestSelector() : base() { } -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/ConditionalSelector.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("ConditionalSelector", "Selects sub-scopes where a certain boolean variable is true.")] 31 [Storable Class]31 [StorableType("983df469-ae14-4c5b-98f3-03a3a6231cf1")] 32 32 public class ConditionalSelector : Selector { 33 33 public ScopeTreeLookupParameter<BoolValue> ConditionParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/CrowdedTournamentSelector.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { 32 32 [Item("CrowdedTournamentSelector", "Selects solutions using tournament selection by using the partial order defined in Deb et al. 2002. A Fast and Elitist Multiobjective Genetic Algorithm: NSGA-II. IEEE Transactions on Evolutionary Computation, 6(2), pp. 182-197.")] 33 [Storable Class]33 [StorableType("3bc2b9e7-1139-4ded-aa22-555406e77bdc")] 34 34 public class CrowdedTournamentSelector : Selector, IMultiObjectiveSelector, IStochasticOperator { 35 35 public ILookupParameter<BoolArray> MaximizationParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/EvolutionStrategyOffspringSelector.cs
r14185 r14927 28 28 using HeuristicLab.Operators; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Selection { 33 33 [Item("EvolutionStrategyOffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")] 34 [Storable Class]34 [StorableType("f8faf87f-76e6-4215-bbb8-b532338029ba")] 35 35 public class EvolutionStrategyOffspringSelector : SingleSuccessorOperator { 36 36 -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { 32 32 [Item("GenderSpecificSelection", "Brings two parents together by sampling each with a different selection scheme (Wagner, S. and Affenzeller, M. 2005. SexualGA: Gender-Specific Selection for Genetic Algorithms. Proceedings of the 9th World Multi-Conference on Systemics, Cybernetics and Informatics (WMSCI), pp. 76-81).")] 33 [Storable Class]33 [StorableType("4835fa3e-1ee9-4c39-819d-040c6148c573")] 34 34 public class GenderSpecificSelector : AlgorithmOperator, ISingleObjectiveSelector, IStochasticOperator { 35 35 #region Parameters -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/GeneralizedRankSelector.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("GeneralizedRankSelector", "The generalized rank selection operator selects qualities by rank with a varying focus on better qualities. It is implemented as described in Tate, D. M. and Smith, A. E. 1995. A genetic approach to the quadratic assignment problem. Computers & Operations Research, vol. 22, pp. 73-83.")] 37 [Storable Class]37 [StorableType("1c413a53-853e-486e-8a9e-e436737be44c")] 38 38 public sealed class GeneralizedRankSelector : StochasticSingleObjectiveSelector, ISelector { 39 39 -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LeftReducer.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("LeftReducer", "An operator which reduces to the sub-scopes of the leftmost sub-scope of the current scope.")] 33 [Storable Class]33 [StorableType("bcc20651-6024-4f3e-a445-95223861f2d8")] 34 34 public sealed class LeftReducer : Reducer, IReducer { 35 35 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LeftSelector.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("LeftSelector", "An operator which selects sub-scopes from left to right.")] 34 [Storable Class]34 [StorableType("864d224e-c5b0-4f00-a81d-f62abc842103")] 35 35 public sealed class LeftSelector : Selector { 36 36 private IValueParameter<BoolValue> CopySelectedParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/LinearRankSelector.cs
r14185 r14927 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("LinearRankSelector", "A linear rank selection operator which considers the rank based on a single double quality value for selection.")] 36 [Storable Class]36 [StorableType("8918c68e-b367-4015-89e2-cdc1fc3cfe0f")] 37 37 public sealed class LinearRankSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 38 38 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/MergingReducer.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("MergingReducer", "An operator which reduces to the sub-scopes of all sub-scopes of the current scope.")] 33 [Storable Class]33 [StorableType("86552ecc-2ba2-49bb-a74f-833c9cbd33de")] 34 34 public sealed class MergingReducer : Reducer, IReducer { 35 35 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/NoSameMatesSelector.cs
r14185 r14927 29 29 using HeuristicLab.Optimization; 30 30 using HeuristicLab.Parameters; 31 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;31 using HeuristicLab.Persistence; 32 32 33 33 namespace HeuristicLab.Selection { … … 38 38 /// </summary> 39 39 [Item("NoSameMatesSelector", "A selector which tries to select two parents which differ in quality as described in: \"S. Gustafson, E. K. Burke, N. Krasnogor, On improving genetic programming for symbolic regression, The 2005 IEEE Congress on Evolutionary Computation, pp. 912-919, 2005.\"")] 40 [Storable Class]40 [StorableType("7f1dd8c0-faf8-46ef-ae6f-b5a07a447ac2")] 41 41 public class NoSameMatesSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 42 42 private const string SelectorParameterName = "Selector"; -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/OffspringSelector.cs
r14185 r14927 26 26 using HeuristicLab.Operators; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Selection { 31 31 [Item("OffspringSelector", "Selects among the offspring population those that are designated successful and discards the unsuccessful offspring, except for some lucky losers. It expects the parent scopes to be below the first sub-scope, and offspring scopes to be below the second sub-scope separated again in two sub-scopes, the first with the failed offspring and the second with successful offspring.")] 32 [Storable Class]32 [StorableType("b1b58865-4ae9-4494-afb9-f8de41c74bc6")] 33 33 public class OffspringSelector : SingleSuccessorOperator { 34 34 public ValueLookupParameter<DoubleValue> MaximumSelectionPressureParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("ProportionalSelector", "A quality proportional selection operator which considers a single double quality value for selection.")] 37 [Storable Class]37 [StorableType("64f297ea-4958-4a3e-adc2-beb4b66a3b61")] 38 38 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 39 39 private ValueParameter<BoolValue> WindowingParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RandomReplacer.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("RandomReplacer", "Replaces some randomly selected sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")] 31 [Storable Class]31 [StorableType("9ad37547-2910-474f-b543-63ee1535f428")] 32 32 public sealed class RandomReplacer : Replacer, IStochasticOperator, ISingleObjectiveReplacer { 33 33 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RandomSelector.cs
r14185 r14927 26 26 using HeuristicLab.Optimization; 27 27 using HeuristicLab.Parameters; 28 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;28 using HeuristicLab.Persistence; 29 29 30 30 namespace HeuristicLab.Selection { … … 33 33 /// </summary> 34 34 [Item("RandomSelector", "A random selection operator.")] 35 [Storable Class]35 [StorableType("282c6a03-376e-4788-92f0-f62814c99d81")] 36 36 public sealed class RandomSelector : StochasticSelector, ISelector { 37 37 private IValueParameter<BoolValue> CopySelectedParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Reducer.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("Reducer", "A base class for reduction operators.")] 34 [Storable Class]34 [StorableType("34f7d18e-1d67-4ffb-b0be-88e9629c0e1c")] 35 35 public abstract class Reducer : SingleSuccessorOperator { 36 36 protected ScopeParameter CurrentScopeParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Replacer.cs
r14185 r14927 27 27 using HeuristicLab.Optimization; 28 28 using HeuristicLab.Parameters; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { 32 32 [Item("Replacer", "Generic replacer that replaces sub-scopes of the remaining scope with those from the selected scope.")] 33 [Storable Class]33 [StorableType("06748649-ed99-44dd-a55c-434ba0da3d53")] 34 34 public class Replacer : AlgorithmOperator, IReplacer { 35 35 public IValueLookupParameter<ISelector> ReplacedSelectorParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightChildReducer.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 41 41 /// </summary> 42 42 [Item("RightChildReducer", "Merges all sub-scopes generated by successively selecting sub-scopes of the remaining part.")] 43 [Storable Class]43 [StorableType("16b58f96-51e8-4757-8973-f0b86572d410")] 44 44 public class RightChildReducer : Reducer, IReducer { 45 45 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightReducer.cs
r14185 r14927 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Optimization; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("RightReducer", "An operator which reduces to the sub-scopes of the rightmost sub-scope of the current scope.")] 33 [Storable Class]33 [StorableType("397bf848-0397-40b4-981a-9c78bce39707")] 34 34 public sealed class RightReducer : Reducer, IReducer { 35 35 [StorableConstructor] -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/RightSelector.cs
r14185 r14927 25 25 using HeuristicLab.Data; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("RightSelector", "An operator which selects sub-scopes from right to left.")] 34 [Storable Class]34 [StorableType("0ee8cbe0-8577-4704-bfd7-f56a93f306f9")] 35 35 public sealed class RightSelector : Selector { 36 36 private IValueParameter<BoolValue> CopySelectedParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/Selector.cs
r14185 r14927 25 25 using HeuristicLab.Operators; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("Selector", "A base class for selection operators.")] 34 [Storable Class]34 [StorableType("f2561f60-cdfa-430a-a1af-37f008857e35")] 35 35 public abstract class Selector : InstrumentedOperator { 36 36 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { … … 32 32 /// </summary> 33 33 [Item("SingleObjectiveSelector", "A base class for selection operators which consider a single double quality value for selection.")] 34 [Storable Class]34 [StorableType("dca23820-ca11-445e-9b1c-cbb12fd47190")] 35 35 public abstract class SingleObjectiveSelector : Selector, ISingleObjectiveOperator { 36 36 protected IValueParameter<BoolValue> CopySelectedParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSelector.cs
r14185 r14927 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("StochasticSelector", "A base class for stochastic selection operators.")] 33 [Storable Class]33 [StorableType("26bcc812-bf6c-4128-8be4-37f8abb1d17f")] 34 34 public abstract class StochasticSelector : Selector, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/StochasticSingleObjectiveSelector.cs
r14185 r14927 24 24 using HeuristicLab.Optimization; 25 25 using HeuristicLab.Parameters; 26 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;26 using HeuristicLab.Persistence; 27 27 28 28 namespace HeuristicLab.Selection { … … 31 31 /// </summary> 32 32 [Item("StochasticSingleObjectiveSelector", "A base class for stochastic selection operators which consider a single double quality value for selection.")] 33 [Storable Class]33 [StorableType("41d6b78b-f504-4275-981b-4d9d77eb9ef1")] 34 34 public abstract class StochasticSingleObjectiveSelector : SingleObjectiveSelector, IStochasticOperator { 35 35 public ILookupParameter<IRandom> RandomParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/TournamentSelector.cs
r14185 r14927 28 28 using HeuristicLab.Optimization; 29 29 using HeuristicLab.Parameters; 30 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;30 using HeuristicLab.Persistence; 31 31 32 32 namespace HeuristicLab.Selection { … … 35 35 /// </summary> 36 36 [Item("TournamentSelector", "A tournament selection operator which considers a single double quality value for selection.")] 37 [Storable Class]37 [StorableType("88a67bbd-8095-48b9-8e4c-317ae40e46b5")] 38 38 public sealed class TournamentSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 39 39 public ValueLookupParameter<IntValue> GroupSizeParameter { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/WorstReplacer.cs
r14185 r14927 25 25 using HeuristicLab.Optimization; 26 26 using HeuristicLab.Parameters; 27 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;27 using HeuristicLab.Persistence; 28 28 29 29 namespace HeuristicLab.Selection { 30 30 [Item("WorstReplacer", "Replaces the worst sub-scopes of the remaining scope with all those (or the best if there are more) from the selected scope.")] 31 [Storable Class]31 [StorableType("2a111551-0c19-4f3d-831e-921d745c20b1")] 32 32 public sealed class WorstReplacer : Replacer, ISingleObjectiveReplacer { 33 33 public override bool CanChangeName { -
branches/PersistenceReintegration/HeuristicLab.Selection/3.3/WorstSelector.cs
r14185 r14927 27 27 using HeuristicLab.Data; 28 28 using HeuristicLab.Optimization; 29 using HeuristicLab.Persistence .Default.CompositeSerializers.Storable;29 using HeuristicLab.Persistence; 30 30 31 31 namespace HeuristicLab.Selection { … … 34 34 /// </summary> 35 35 [Item("WorstSelector", "A selection operator which considers a single double quality value and selects the worst.")] 36 [Storable Class]36 [StorableType("915faa20-4658-4ea6-b7ed-8db659d90d63")] 37 37 public sealed class WorstSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 38 38 [StorableConstructor]
Note: See TracChangeset
for help on using the changeset viewer.