Changeset 5499 for branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
- Timestamp:
- 02/16/11 19:01:00 (13 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4
- Property svn:ignore
-
old new 2 2 obj 3 3 HeuristicLabEncodingsSymbolicExpressionTreeEncodingPlugin.cs 4 *.user
-
- Property svn:ignore
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/SymbolicExpressionTreeNode.cs
r5473 r5499 25 25 using HeuristicLab.Common; 26 26 using HeuristicLab.Core; 27 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding.Symbols;28 27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 29 28 30 29 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 31 30 [StorableClass] 32 public class SymbolicExpressionTreeNode : DeepCloneable {31 public class SymbolicExpressionTreeNode : DeepCloneable, ISymbolicExpressionTreeNode { 33 32 [Storable] 34 33 private IList<SymbolicExpressionTreeNode> subTrees; … … 96 95 } 97 96 98 public virtual ISymbolicExpression Grammar Grammar {97 public virtual ISymbolicExpressionTreeGrammar Grammar { 99 98 get { return parent.Grammar; } 100 99 } … … 175 174 } 176 175 177 public IEnumerable< Symbol> GetAllowedSymbols(int argumentIndex) {176 public IEnumerable<ISymbol> GetAllowedSymbols(int argumentIndex) { 178 177 return Grammar.Symbols.Where(s => Grammar.IsAllowedChild(Symbol, s, argumentIndex)); 179 178 }
Note: See TracChangeset
for help on using the changeset viewer.