- Timestamp:
- 03/15/10 23:49:54 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Selection/3.3/ProportionalSelector.cs
r3017 r3048 36 36 [Creatable("Test")] 37 37 public sealed class ProportionalSelector : StochasticSingleObjectiveSelector { 38 private ValueParameter<Bool Data> WindowingParameter {39 get { return (ValueParameter<Bool Data>)Parameters["Windowing"]; }38 private ValueParameter<BoolValue> WindowingParameter { 39 get { return (ValueParameter<BoolValue>)Parameters["Windowing"]; } 40 40 } 41 41 42 public Bool DataWindowing {42 public BoolValue Windowing { 43 43 get { return WindowingParameter.Value; } 44 44 set { WindowingParameter.Value = value; } … … 47 47 public ProportionalSelector() 48 48 : base() { 49 Parameters.Add(new ValueParameter<Bool Data>("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 ValueParameter<BoolValue>("Windowing", "Apply windowing strategy (selection probability is proportional to the quality differences and not to the total quality).", new BoolValue(true))); 50 50 CopySelected.Value = true; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.