Changeset 2757 for trunk/sources/HeuristicLab.Operators/3.3/Counter.cs
- Timestamp:
- 02/08/10 03:43:36 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators/3.3/Counter.cs
r2756 r2757 39 39 get { return (LookupParameter<IntData>)Parameters["Value"]; } 40 40 } 41 public ValueLookupParameter<IntData> IncrementPara neter {41 public ValueLookupParameter<IntData> IncrementParameter { 42 42 get { return (ValueLookupParameter<IntData>)Parameters["Increment"]; } 43 43 } 44 44 public IntData Increment { 45 get { return IncrementPara neter.Value; }46 set { IncrementPara neter.Value = value; }45 get { return IncrementParameter.Value; } 46 set { IncrementParameter.Value = value; } 47 47 } 48 48 … … 53 53 } 54 54 55 public override ExecutionContextCollectionApply() {55 public override IExecutionContext Apply() { 56 56 if (ValueParameter.ActualValue == null) ValueParameter.ActualValue = new IntData(); 57 ValueParameter.ActualValue.Value += IncrementPara neter.ActualValue.Value;57 ValueParameter.ActualValue.Value += IncrementParameter.ActualValue.Value; 58 58 return base.Apply(); 59 59 }
Note: See TracChangeset
for help on using the changeset viewer.