Changeset 5379 for branches/SuccessProgressAnalysis/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs
- Timestamp:
- 01/26/11 13:18:26 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/SuccessProgressAnalysis/HeuristicLab.Operators/3.3/StochasticMultiBranch.cs
r5372 r5379 49 49 get { return (ILookupParameter<IRandom>)Parameters["Random"]; } 50 50 } 51 public ValueParameter<BoolValue> ReportExecutedOperatorParameter { 52 get { return (ValueParameter<BoolValue>)Parameters["ReportExecutedOperator"]; } 53 } 51 54 public ValueLookupParameter<StringValue> ExecutedOperatorParameter { 52 55 get { return (ValueLookupParameter<StringValue>)Parameters["ExecutedOperator"]; } … … 63 66 if (!Parameters.ContainsKey("ExecutedOperator")) { 64 67 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))); 65 71 } 66 72 #endregion … … 81 87 Parameters.Add(new LookupParameter<IRandom>("Random", "The random number generator to use.")); 82 88 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))); 83 90 } 84 91
Note: See TracChangeset
for help on using the changeset viewer.