Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9165


Ignore:
Timestamp:
01/15/13 14:21:34 (12 years ago)
Author:
mkommend
Message:

#1837: Corrected selection pressure base sliding window analyzer and added new sample algorithms.

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  
    3434
    3535    #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]; }
    3838    }
    39     public IFixedValueParameter<IntValue> SelectionPressureThresholdParameter {
    40       get { return (IFixedValueParameter<IntValue>)Parameters[SelectionPressureThresholdParameterName]; }
     39    public IFixedValueParameter<DoubleValue> SelectionPressureThresholdParameter {
     40      get { return (IFixedValueParameter<DoubleValue>)Parameters[SelectionPressureThresholdParameterName]; }
    4141    }
    4242    #endregion
    4343
    4444    #region properties
    45     public IntValue SelectionPressureThreshold {
     45    public DoubleValue SelectionPressureThreshold {
    4646      get { return SelectionPressureThresholdParameter.Value; }
    4747    }
     
    5757
    5858    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)));
    6161    }
    6262
Note: See TracChangeset for help on using the changeset viewer.