Changeset 3338 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/SymbolicExpressionTreeOperator.cs
- Timestamp:
- 04/13/10 20:44:31 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/SymbolicExpressionTreeOperator.cs
r3294 r3338 45 45 } 46 46 47 #region Parameter Properties 47 48 public ILookupParameter<IRandom> RandomParameter { 48 49 get { return (LookupParameter<IRandom>)Parameters[RandomParameterName]; } … … 60 61 get { return (ILookupParameter<ISymbolicExpressionGrammar>)Parameters[SymbolicExpressionGrammarParameterName]; } 61 62 } 63 #endregion 64 65 #region Properties 66 public IRandom Random { 67 get { return RandomParameter.ActualValue; } 68 } 69 public SymbolicExpressionTree SymbolicExpressionTree { 70 get { return SymbolicExpressionTreeParameter.ActualValue; } 71 } 72 public IntValue MaxTreeSize { 73 get { return MaxTreeSizeParameter.ActualValue; } 74 } 75 public IntValue MaxTreeHeight { 76 get { return MaxTreeHeightParameter.ActualValue; } 77 } 78 public ISymbolicExpressionGrammar SymbolicExpressionGrammar { 79 get { return SymbolicExpressionGrammarParameter.ActualValue; } 80 } 81 #endregion 62 82 63 83 protected SymbolicExpressionTreeOperator()
Note: See TracChangeset
for help on using the changeset viewer.