- Timestamp:
- 03/20/10 04:15:54 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Selection/3.3
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection/3.3/BestSelector.cs
r3137 r3138 20 20 #endregion 21 21 22 using System ;22 using System.Collections.Generic; 23 23 using System.Linq; 24 using System.Collections.Generic;25 24 using HeuristicLab.Core; 25 using HeuristicLab.Data; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 using HeuristicLab.Data;28 28 29 29 namespace HeuristicLab.Selection { … … 34 34 [StorableClass] 35 35 [Creatable("Test")] 36 public sealed class BestSelector : SingleObjectiveSelector {36 public sealed class BestSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 37 37 public BestSelector() : base() { } 38 38 -
trunk/sources/HeuristicLab.Selection/3.3/LeftReducer.cs
r3017 r3138 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Optimization; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 26 … … 31 32 [StorableClass] 32 33 [Creatable("Test")] 33 public sealed class LeftReducer : Reducer {34 public sealed class LeftReducer : Reducer, IReducer { 34 35 public LeftReducer() : base() { } 35 36 -
trunk/sources/HeuristicLab.Selection/3.3/LinearRankSelector.cs
r3137 r3138 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 27 28 … … 33 34 [StorableClass] 34 35 [Creatable("Test")] 35 public sealed class LinearRankSelector : StochasticSingleObjectiveSelector {36 public sealed class LinearRankSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 36 37 public LinearRankSelector() : base() { } 37 38 -
trunk/sources/HeuristicLab.Selection/3.3/MergingReducer.cs
r3017 r3138 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Optimization; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 26 … … 31 32 [StorableClass] 32 33 [Creatable("Test")] 33 public sealed class MergingReducer : Reducer {34 public sealed class MergingReducer : Reducer, IReducer { 34 35 public MergingReducer() : base() { } 35 36 -
trunk/sources/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r3096 r3138 25 25 using HeuristicLab.Core; 26 26 using HeuristicLab.Data; 27 using HeuristicLab.Optimization; 27 28 using HeuristicLab.Parameters; 28 29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 35 36 [StorableClass] 36 37 [Creatable("Test")] 37 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector {38 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 38 39 private ValueParameter<BoolValue> WindowingParameter { 39 40 get { return (ValueParameter<BoolValue>)Parameters["Windowing"]; } -
trunk/sources/HeuristicLab.Selection/3.3/Reducer.cs
r3017 r3138 23 23 using HeuristicLab.Core; 24 24 using HeuristicLab.Operators; 25 using HeuristicLab.Optimization;26 25 using HeuristicLab.Parameters; 27 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 33 32 [Item("Reducer", "A base class for reduction operators.")] 34 33 [StorableClass] 35 public abstract class Reducer : SingleSuccessorOperator , IReducer{34 public abstract class Reducer : SingleSuccessorOperator { 36 35 protected ScopeParameter CurrentScopeParameter { 37 36 get { return (ScopeParameter)Parameters["CurrentScope"]; } -
trunk/sources/HeuristicLab.Selection/3.3/RightReducer.cs
r3017 r3138 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Optimization; 24 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 25 26 … … 31 32 [StorableClass] 32 33 [Creatable("Test")] 33 public sealed class RightReducer : Reducer {34 public sealed class RightReducer : Reducer, IReducer { 34 35 public RightReducer() : base() { } 35 36 -
trunk/sources/HeuristicLab.Selection/3.3/Selector.cs
r3129 r3138 22 22 using System.Collections.Generic; 23 23 using HeuristicLab.Core; 24 using HeuristicLab.Data;25 24 using HeuristicLab.Operators; 26 using HeuristicLab.Optimization;27 25 using HeuristicLab.Parameters; 28 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; -
trunk/sources/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs
r3129 r3138 22 22 using HeuristicLab.Core; 23 23 using HeuristicLab.Data; 24 using HeuristicLab.Optimization;25 24 using HeuristicLab.Parameters; 26 25 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 32 31 [Item("SingleObjectiveSelector", "A base class for selection operators which consider a single double quality value for selection.")] 33 32 [StorableClass] 34 public abstract class SingleObjectiveSelector : Selector , ISingleObjectiveSelector{33 public abstract class SingleObjectiveSelector : Selector { 35 34 protected ValueParameter<BoolValue> CopySelectedParameter { 36 35 get { return (ValueParameter<BoolValue>)Parameters["CopySelected"]; } -
trunk/sources/HeuristicLab.Selection/3.3/TournamentSelector.cs
r3096 r3138 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Data; 26 using HeuristicLab.Optimization; 26 27 using HeuristicLab.Parameters; 27 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; … … 34 35 [StorableClass] 35 36 [Creatable("Test")] 36 public sealed class TournamentSelector : StochasticSingleObjectiveSelector {37 public sealed class TournamentSelector : StochasticSingleObjectiveSelector, ISingleObjectiveSelector { 37 38 public ValueLookupParameter<IntValue> GroupSizeParameter { 38 39 get { return (ValueLookupParameter<IntValue>)Parameters["GroupSize"]; } -
trunk/sources/HeuristicLab.Selection/3.3/WorstSelector.cs
r3137 r3138 20 20 #endregion 21 21 22 using System.Collections.Generic; 22 23 using System.Linq; 23 using System.Collections.Generic;24 24 using HeuristicLab.Core; 25 using HeuristicLab.Data; 26 using HeuristicLab.Optimization; 25 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 26 using HeuristicLab.Data;27 28 28 29 namespace HeuristicLab.Selection { … … 33 34 [StorableClass] 34 35 [Creatable("Test")] 35 public sealed class WorstSelector : SingleObjectiveSelector {36 public sealed class WorstSelector : SingleObjectiveSelector, ISingleObjectiveSelector { 36 37 public WorstSelector() : base() { } 37 38
Note: See TracChangeset
for help on using the changeset viewer.