Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/26/11 13:18:26 (14 years ago)
Author:
svonolfe
Message:

Implemented review comments by abeham for the SuccessProgressAnalysis (#1392)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/SuccessProgressAnalysis/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs

    r5372 r5379  
    4949      get { return (ILookupParameter<IRandom>)Parameters["Random"]; }
    5050    }
     51    public ValueParameter<BoolValue> ReportExecutedOperatorParameter {
     52      get { return (ValueParameter<BoolValue>)Parameters["ReportExecutedOperator"]; }
     53    }
    5154    public ValueLookupParameter<StringValue> ExecutedOperatorParameter {
    5255      get { return (ValueLookupParameter<StringValue>)Parameters["ExecutedOperator"]; }
     
    6366      if (!Parameters.ContainsKey("ExecutedOperator")) {
    6467        Parameters.Add(new ValueLookupParameter<StringValue>("ExecutedOperator", "The operator that was executed."));
     68      }
     69      if (!Parameters.ContainsKey("ReportExecutedOperator")) {
     70        Parameters.Add(new ValueParameter<BoolValue>("ReportExecutedOperator", "Report the executed operator", new BoolValue(false)));
    6571      }
    6672      #endregion
     
    8187      Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use."));
    8288      Parameters.Add(new ValueLookupParameter<StringValue>("ExecutedOperator", "The operator that was executed."));
     89      Parameters.Add(new ValueParameter<BoolValue>("ReportExecutedOperator", "Report the executed operator", new BoolValue(false)));
    8390    }
    8491
Note: See TracChangeset for help on using the changeset viewer.