- Timestamp:
- 03/01/10 03:01:01 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r2830 r2890 36 36 [Creatable("Test")] 37 37 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector { 38 private ValueParameter<BoolData> WindowingParameter {39 get { return ( ValueParameter<BoolData>)Parameters["Windowing"]; }38 private OptionalValueParameter<BoolData> WindowingParameter { 39 get { return (OptionalValueParameter<BoolData>)Parameters["Windowing"]; } 40 40 } 41 41 … … 47 47 public ProportionalSelector() 48 48 : base() { 49 Parameters.Add(new ValueParameter<BoolData>("Windowing", "Apply windowing strategy (selection probability is proportional to the quality differences and not to the total quality).", new BoolData(true)));49 Parameters.Add(new OptionalValueParameter<BoolData>("Windowing", "Apply windowing strategy (selection probability is proportional to the quality differences and not to the total quality).", new BoolData(true))); 50 50 CopySelected.Value = true; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.