Changeset 4068 for trunk/sources/HeuristicLab.Selection
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Selection/3.3
- Files:
-
- 19 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection/3.3/BestSelector.cs
r3376 r4068 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Common;25 24 using HeuristicLab.Core; 26 25 using HeuristicLab.Data; -
trunk/sources/HeuristicLab.Selection/3.3/ConditionalSelector.cs
r3742 r4068 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Data; 26 using HeuristicLab. Selection;25 using HeuristicLab.Parameters; 27 26 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 using HeuristicLab.Parameters;29 27 30 28 namespace HeuristicLab.Selection { -
trunk/sources/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs
r3659 r4068 20 20 #endregion 21 21 22 using System.Collections.Generic; 23 using System.Linq; 24 using HeuristicLab.Common; 22 using System; 25 23 using HeuristicLab.Core; 26 24 using HeuristicLab.Data; 25 using HeuristicLab.Operators; 27 26 using HeuristicLab.Optimization; 27 using HeuristicLab.Parameters; 28 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 using HeuristicLab.Operators;30 using HeuristicLab.Parameters;31 using HeuristicLab.PluginInfrastructure;32 using System;33 29 34 30 namespace HeuristicLab.Selection { … … 106 102 107 103 femaleSelector.OperatorParameter.ActualName = "FemaleSelector"; 108 104 109 105 maleSelector.OperatorParameter.ActualName = "MaleSelector"; 110 106 -
trunk/sources/HeuristicLab.Selection/3.3/LeftReducer.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Optimization; -
trunk/sources/HeuristicLab.Selection/3.3/LinearRankSelector.cs
r3376 r4068 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Common;25 24 using HeuristicLab.Core; 26 25 using HeuristicLab.Data; -
trunk/sources/HeuristicLab.Selection/3.3/MergingReducer.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Optimization; -
trunk/sources/HeuristicLab.Selection/3.3/OffspringSelector.cs
r3854 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Linq;25 23 using HeuristicLab.Core; 26 24 using HeuristicLab.Data; … … 107 105 OffspringPopulationWinnersParameter.ActualValue = successfulOffspring; 108 106 } else successfulOffspring = OffspringPopulationWinnersParameter.ActualValue; 109 107 110 108 int worseOffspringNeeded = (int)((1 - successRatio) * populationSize) - (population.Count - successfulOffspring.Value); 111 109 int successfulOffspringAdded = 0; … … 150 148 scope.SubScopes.Remove(parents); 151 149 scope.SubScopes.Remove(offspring); 152 while (parents.SubScopes.Count > 0)150 while (parents.SubScopes.Count > 0) 153 151 scope.SubScopes.Add(parents.SubScopes[0]); 154 152 -
trunk/sources/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r3376 r4068 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using HeuristicLab.Common;26 25 using HeuristicLab.Core; 27 26 using HeuristicLab.Data; -
trunk/sources/HeuristicLab.Selection/3.3/RandomReplacer.cs
r3659 r4068 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Data; 25 using HeuristicLab.Operators;26 24 using HeuristicLab.Optimization; 27 25 using HeuristicLab.Parameters; -
trunk/sources/HeuristicLab.Selection/3.3/RandomSelector.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Data; … … 46 45 set { CopySelectedParameter.Value = value; } 47 46 } 48 49 public RandomSelector() : base() { 47 48 public RandomSelector() 49 : base() { 50 50 Parameters.Add(new ValueParameter<BoolValue>("CopySelected", "True if the selected sub-scopes should be copied, otherwise false.", new BoolValue(true))); 51 51 Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of sub-scopes which should be selected.")); -
trunk/sources/HeuristicLab.Selection/3.3/Reducer.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Operators; -
trunk/sources/HeuristicLab.Selection/3.3/RightReducer.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Optimization; -
trunk/sources/HeuristicLab.Selection/3.3/Selector.cs
r3376 r4068 21 21 22 22 using System.Collections.Generic; 23 using HeuristicLab.Common;24 23 using HeuristicLab.Core; 25 24 using HeuristicLab.Operators; -
trunk/sources/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs
r3659 r4068 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Data; -
trunk/sources/HeuristicLab.Selection/3.3/StochasticSelector.cs
r3376 r4068 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Optimization; -
trunk/sources/HeuristicLab.Selection/3.3/StochasticSingleObjectiveSelector.cs
r3376 r4068 20 20 #endregion 21 21 22 using HeuristicLab.Common;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Optimization; -
trunk/sources/HeuristicLab.Selection/3.3/TournamentSelector.cs
r3376 r4068 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Common;25 24 using HeuristicLab.Core; 26 25 using HeuristicLab.Data; … … 40 39 } 41 40 42 public TournamentSelector() : base() { 41 public TournamentSelector() 42 : base() { 43 43 Parameters.Add(new ValueLookupParameter<IntValue>("GroupSize", "The size of the tournament group.", new IntValue(2))); 44 44 } -
trunk/sources/HeuristicLab.Selection/3.3/WorstReplacer.cs
r3659 r4068 20 20 #endregion 21 21 22 using System;23 22 using HeuristicLab.Core; 24 23 using HeuristicLab.Data; 25 using HeuristicLab.Operators;26 24 using HeuristicLab.Optimization; 27 25 using HeuristicLab.Parameters; -
trunk/sources/HeuristicLab.Selection/3.3/WorstSelector.cs
r3376 r4068 22 22 using System.Collections.Generic; 23 23 using System.Linq; 24 using HeuristicLab.Common;25 24 using HeuristicLab.Core; 26 25 using HeuristicLab.Data;
Note: See TracChangeset
for help on using the changeset viewer.