Changeset 3338 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Interfaces
- Timestamp:
- 04/13/10 20:44:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Interfaces/ISymbolicExpressionGrammar.cs
r3294 r3338 31 31 public interface ISymbolicExpressionGrammar : IItem { 32 32 Symbol StartSymbol { get; } 33 Symbol ProgramRootSymbol { get; } 34 IEnumerable<Symbol> GetAllowedSymbols(Symbol parent, int argumentIndex); 33 void AddSymbol(Symbol symbol); 34 void RemoveSymbol(Symbol symbol); 35 IEnumerable<Symbol> Symbols { get; } 36 void SetAllowedChild(Symbol parent, Symbol child, int argumentIndex); 37 bool IsAllowedChild(Symbol parent, Symbol child, int argumentIndex); 35 38 int GetMinExpressionLength(Symbol start); 36 39 int GetMaxExpressionLength(Symbol start); 37 40 int GetMinExpressionDepth(Symbol start); 38 int GetMinSub TreeCount(Symbol start);39 int GetMaxSubTreeCount(Symbol start);40 41 bool IsValidExpression(SymbolicExpressionTree expression);41 int GetMinSubtreeCount(Symbol symbol); 42 void SetMinSubtreeCount(Symbol symbol, int value); 43 int GetMaxSubtreeCount(Symbol symbol); 44 void SetMaxSubtreeCount(Symbol symbol, int value); 42 45 } 43 46 }
Note: See TracChangeset
for help on using the changeset viewer.