Changeset 9165
- Timestamp:
- 01/15/13 14:21:34 (12 years ago)
- Location:
- branches/Sliding Window GP
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Sliding Window GP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SlidingWindow/OffspringSelectionSlidingWindowAnalyzer.cs
r9162 r9165 34 34 35 35 #region parameter properties 36 public ILookupParameter< IntValue> SelectionPressureParameter {37 get { return (ILookupParameter< IntValue>)Parameters[SelectionPressureParameterName]; }36 public ILookupParameter<DoubleValue> SelectionPressureParameter { 37 get { return (ILookupParameter<DoubleValue>)Parameters[SelectionPressureParameterName]; } 38 38 } 39 public IFixedValueParameter< IntValue> SelectionPressureThresholdParameter {40 get { return (IFixedValueParameter< IntValue>)Parameters[SelectionPressureThresholdParameterName]; }39 public IFixedValueParameter<DoubleValue> SelectionPressureThresholdParameter { 40 get { return (IFixedValueParameter<DoubleValue>)Parameters[SelectionPressureThresholdParameterName]; } 41 41 } 42 42 #endregion 43 43 44 44 #region properties 45 public IntValue SelectionPressureThreshold {45 public DoubleValue SelectionPressureThreshold { 46 46 get { return SelectionPressureThresholdParameter.Value; } 47 47 } … … 57 57 58 58 public OffspringSelectionSlidingWindowAnalyzer() { 59 Parameters.Add(new LookupParameter< IntValue>(SelectionPressureParameterName, ""));60 Parameters.Add(new FixedValueParameter< IntValue>(SelectionPressureThresholdParameterName, "", new IntValue(20)));59 Parameters.Add(new LookupParameter<DoubleValue>(SelectionPressureParameterName, "")); 60 Parameters.Add(new FixedValueParameter<DoubleValue>(SelectionPressureThresholdParameterName, "", new DoubleValue(20))); 61 61 } 62 62
Note: See TracChangeset
for help on using the changeset viewer.