Changeset 3659 for trunk/sources/HeuristicLab.Selection
- Timestamp:
- 05/06/10 00:47:32 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Selection/3.3
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection/3.3/ConditionalSelector.cs
r3413 r3659 32 32 [StorableClass] 33 33 public class ConditionalSelector : Selector { 34 public S ubScopesLookupParameter<BoolValue> ConditionParameter {35 get { return (S ubScopesLookupParameter<BoolValue>)Parameters["Condition"]; }34 public ScopeTreeLookupParameter<BoolValue> ConditionParameter { 35 get { return (ScopeTreeLookupParameter<BoolValue>)Parameters["Condition"]; } 36 36 } 37 37 public ValueParameter<BoolValue> CopySelectedParameter { … … 46 46 public ConditionalSelector() 47 47 : base() { 48 Parameters.Add(new S ubScopesLookupParameter<BoolValue>("Condition", "The boolean variable based on which the scopes are selected into a true scope-branch and a false scope-branch."));48 Parameters.Add(new ScopeTreeLookupParameter<BoolValue>("Condition", "The boolean variable based on which the scopes are selected into a true scope-branch and a false scope-branch.")); 49 49 Parameters.Add(new ValueParameter<BoolValue>("CopySelected", "The parameter that decides whether the selected scopes should be copied or moved.", new BoolValue(true))); 50 50 } -
trunk/sources/HeuristicLab.Selection/3.3/GenderSpecificSelector.cs
r3413 r3659 89 89 #region Create parameters 90 90 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem.")); 91 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality of the solutions."));91 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of the solutions.")); 92 92 Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of scopes that should be selected.")); 93 93 Parameters.Add(new ValueLookupParameter<BoolValue>("CopySelected", "True if the scopes should be copied, false if they should be moved.", new BoolValue(true))); -
trunk/sources/HeuristicLab.Selection/3.3/RandomReplacer.cs
r3601 r3659 53 53 public RandomReplacer() 54 54 : base() { 55 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality of a solution."));55 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of a solution.")); 56 56 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false.")); 57 57 Parameters.Add(new LookupParameter<IRandom>("Random", "The pseudo random number generator to use.")); -
trunk/sources/HeuristicLab.Selection/3.3/SingleObjectiveSelector.cs
r3376 r3659 56 56 Parameters.Add(new ValueLookupParameter<IntValue>("NumberOfSelectedSubScopes", "The number of sub-scopes which should be selected.")); 57 57 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the current problem is a maximization problem, otherwise false.")); 58 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality value contained in each sub-scope which is used for selection."));58 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality value contained in each sub-scope which is used for selection.")); 59 59 } 60 60 } -
trunk/sources/HeuristicLab.Selection/3.3/WorstReplacer.cs
r3601 r3659 50 50 public WorstReplacer() 51 51 : base() { 52 Parameters.Add(new S ubScopesLookupParameter<DoubleValue>("Quality", "The quality of a solution."));52 Parameters.Add(new ScopeTreeLookupParameter<DoubleValue>("Quality", "The quality of a solution.")); 53 53 Parameters.Add(new ValueLookupParameter<BoolValue>("Maximization", "True if the problem is a maximization problem, otherwise false.")); 54 54
Note: See TracChangeset
for help on using the changeset viewer.