Changeset 7230 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Analyzers
- Timestamp:
- 12/22/11 13:05:08 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Analyzers/SymbolicExpressionTreeLengthAnalyzer.cs
r7227 r7230 37 37 [Item("SymbolicExpressionTreeLengthAnalyzer", "An operator that tracks tree lengths of Symbolic Expression Trees")] 38 38 [StorableClass] 39 public sealed class SymbolicExpressionTreeLengthAnalyzer : SingleSuccessorOperator, ISymbolicExpressionTreeAnalyzer , IStatefulItem{39 public sealed class SymbolicExpressionTreeLengthAnalyzer : SingleSuccessorOperator, ISymbolicExpressionTreeAnalyzer { 40 40 private const string SymbolicExpressionTreeParameterName = "SymbolicExpressionTree"; 41 41 private const string MaximumSymbolicExpressionTreeLengthParameterName = "MaximumSymbolicExpressionTreeLength"; … … 128 128 129 129 #region IStatefulItem members 130 public void InitializeState() { 130 public override void InitializeState() { 131 base.InitializeState(); 131 132 UpdateCounter.Value = 0; 132 133 } 133 public void ClearState() { 134 public override void ClearState() { 135 base.ClearState(); 134 136 UpdateCounter.Value = 0; 135 137 }
Note: See TracChangeset
for help on using the changeset viewer.