Changeset 3294 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Interfaces
- Timestamp:
- 04/09/10 17:28:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/Interfaces/ISymbolicExpressionGrammar.cs
r3237 r3294 31 31 public interface ISymbolicExpressionGrammar : IItem { 32 32 Symbol StartSymbol { get; } 33 // IEnumerable<Symbol> Symbols { get; } 34 35 // void AddSymbol(Symbol symbol); 36 // void RemoveSymbol(Symbol symbol); 37 38 IEnumerable<Symbol> AllowedSymbols(Symbol parent, int argumentIndex); 39 int MinimalExpressionLength(Symbol start); 40 int MaximalExpressionLength(Symbol start); 41 int MinimalExpressionDepth(Symbol start); 42 int MinSubTrees(Symbol start); 43 int MaxSubTrees(Symbol start); 33 Symbol ProgramRootSymbol { get; } 34 IEnumerable<Symbol> GetAllowedSymbols(Symbol parent, int argumentIndex); 35 int GetMinExpressionLength(Symbol start); 36 int GetMaxExpressionLength(Symbol start); 37 int GetMinExpressionDepth(Symbol start); 38 int GetMinSubTreeCount(Symbol start); 39 int GetMaxSubTreeCount(Symbol start); 44 40 45 41 bool IsValidExpression(SymbolicExpressionTree expression);
Note: See TracChangeset
for help on using the changeset viewer.