Changeset 12495 for branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces
- Timestamp:
- 06/23/15 12:50:05 (9 years ago)
- Location:
- branches/GBT
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GBT
- Property svn:mergeinfo changed
/trunk/sources merged: 12392-12393,12397-12401,12422,12424,12428-12435,12442-12443,12445,12455-12458,12461,12463-12465,12470-12476,12478-12482,12485,12488,12490-12494 -
Property
svn:global-ignores
set to
*.nuget
packages
- Property svn:mergeinfo changed
-
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding
- Property svn:mergeinfo changed
-
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/ISymbolicExpressionGrammar.cs
r12012 r12495 36 36 event EventHandler ReadOnlyChanged; 37 37 38 void AddSymbol(ISymbol symbol);39 void RemoveSymbol(ISymbol symbol);40 41 void AddAllowedChildSymbol(ISymbol parent, ISymbol child);42 void AddAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex);43 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child);44 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex);45 46 void SetSubtreeCount(ISymbol symbol, int minimumSubtreeCount, int maximumSubtreeCount);47 48 38 void StartGrammarManipulation(); 49 39 void FinishedGrammarManipulation(); -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/ISymbolicExpressionGrammarBase.cs
r12012 r12495 27 27 public interface ISymbolicExpressionGrammarBase : INamedItem { 28 28 IEnumerable<ISymbol> Symbols { get; } 29 IEnumerable<ISymbol> AllowedSymbols { get; } 30 31 bool ContainsSymbol(ISymbol symbol); 29 32 ISymbol GetSymbol(string symbolName); 30 IEnumerable<ISymbol> AllowedSymbols { get; } 31 bool ContainsSymbol(ISymbol symbol); 33 34 void AddSymbol(ISymbol symbol); 35 void RemoveSymbol(ISymbol symbol); 32 36 33 37 bool IsAllowedChildSymbol(ISymbol parent, ISymbol child); … … 36 40 IEnumerable<ISymbol> GetAllowedChildSymbols(ISymbol parent, int argumentIndex); 37 41 42 void AddAllowedChildSymbol(ISymbol parent, ISymbol child); 43 void AddAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex); 44 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child); 45 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex); 46 47 38 48 int GetMinimumSubtreeCount(ISymbol symbol); 39 49 int GetMaximumSubtreeCount(ISymbol symbol); 50 void SetSubtreeCount(ISymbol symbol, int minimumSubtreeCount, int maximumSubtreeCount); 40 51 41 52 int GetMinimumExpressionDepth(ISymbol start); -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/ISymbolicExpressionTreeGrammar.cs
r12012 r12495 23 23 namespace HeuristicLab.Encodings.SymbolicExpressionTreeEncoding { 24 24 public interface ISymbolicExpressionTreeGrammar : ISymbolicExpressionGrammarBase { 25 26 25 IEnumerable<ISymbol> ModifyableSymbols { get; } 27 26 bool IsModifyableSymbol(ISymbol symbol); 28 void AddSymbol(ISymbol symbol);29 void RemoveSymbol(ISymbol symbol);30 31 void AddAllowedChildSymbol(ISymbol parent, ISymbol child);32 void AddAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex);33 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child);34 void RemoveAllowedChildSymbol(ISymbol parent, ISymbol child, int argumentIndex);35 36 void SetSubtreeCount(ISymbol symbol, int minimumSubtreeCount, int maximumSubtreeCount);37 27 } 38 28 } -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/Operators/ISymbolicExpressionTreeCreator.cs
r12012 r12495 27 27 /// Interface for operators that create symbolic expression trees. 28 28 /// </summary> 29 public interface ISymbolicExpressionTreeCreator : ISymbolicExpressionTreeOperator, ISolutionCreator { 30 ILookupParameter<ISymbolicExpressionTree> SymbolicExpressionTreeParameter { get; } 29 public interface ISymbolicExpressionTreeCreator : ISolutionCreator, ISymbolicExpressionTreeSizeConstraintOperator, ISymbolicExpressionTreeGrammarBasedOperator { 31 30 ISymbolicExpressionTree CreateTree(IRandom random, ISymbolicExpressionGrammar grammar, int maxTreeLength, int maxTreeDepth); 32 31 } -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/Operators/ISymbolicExpressionTreeCrossover.cs
r12012 r12495 29 29 public interface ISymbolicExpressionTreeCrossover : ISymbolicExpressionTreeOperator, ICrossover { 30 30 ILookupParameter<ItemArray<ISymbolicExpressionTree>> ParentsParameter { get; } 31 ILookupParameter<ISymbolicExpressionTree> ChildParameter { get; }32 31 ISymbolicExpressionTree Crossover(IRandom random, ISymbolicExpressionTree parent0, ISymbolicExpressionTree parent1); 33 32 } -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/Operators/ISymbolicExpressionTreeManipulator.cs
r12012 r12495 28 28 /// </summary> 29 29 public interface ISymbolicExpressionTreeManipulator : ISymbolicExpressionTreeOperator, IManipulator { 30 ILookupParameter<ISymbolicExpressionTree> SymbolicExpressionTreeParameter { get; }31 30 } 32 31 } -
branches/GBT/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/Interfaces/Operators/ISymbolicExpressionTreeOperator.cs
r12012 r12495 27 27 /// </summary> 28 28 public interface ISymbolicExpressionTreeOperator : IOperator { 29 ILookupParameter<ISymbolicExpressionTree> SymbolicExpressionTreeParameter { get; } 29 30 } 30 31 }
Note: See TracChangeset
for help on using the changeset viewer.