Free cookie consent management tool by TermsFeed Policy Generator

Changeset 79 for trunk


Ignore:
Timestamp:
03/19/08 12:27:29 (17 years ago)
Author:
abeham
Message:

fixed #60 regarding ES

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.ES/ES.cs

    r78 r79  
    380380    }
    381381    private DoubleData mySuccessProbability;
     382    private DoubleData myTargetSuccessProbability;
    382383    public double SuccessProbability {
    383       get { return mySuccessProbability.Data; }
    384       set { mySuccessProbability.Data = value; }
     384      get { return myTargetSuccessProbability.Data; }
     385      set {
     386        myTargetSuccessProbability.Data = value;
     387        mySuccessProbability.Data = value;
     388      }
    385389    }
    386390    private IntData myMaximumGenerations;
     
    475479      myPlusNotation = vi.GetVariable("PlusNotation").GetValue<BoolData>();
    476480      myShakingFactor = vi.GetVariable("ShakingFactor").GetValue<DoubleData>();
    477       mySuccessProbability = vi.GetVariable("TargetSuccessProbability").GetValue<DoubleData>();
     481      myTargetSuccessProbability = vi.GetVariable("TargetSuccessProbability").GetValue<DoubleData>();
     482      mySuccessProbability = vi.GetVariable("SuccessProbability").GetValue<DoubleData>();
    478483      // Population Initialization
    479484      CombinedOperator co3 = (CombinedOperator)sp1.SubOperators[1];
Note: See TracChangeset for help on using the changeset viewer.