Changeset 4262
- Timestamp:
- 08/19/10 11:23:19 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/DefaultSymbolicExpressionGrammar.cs
r4249 r4262 37 37 [StorableClass] 38 38 [Item("DefaultSymbolicExpressionGrammar", "Represents a grammar that defines the syntax of symbolic expression trees.")] 39 public class DefaultSymbolicExpressionGrammar : Item, ISymbolicExpressionGrammar {39 public abstract class DefaultSymbolicExpressionGrammar : Item, ISymbolicExpressionGrammar { 40 40 41 41 #region properties for separation between implementation and persistence … … 88 88 private Symbol startSymbol; 89 89 90 p ublicDefaultSymbolicExpressionGrammar()90 protected DefaultSymbolicExpressionGrammar() 91 91 : base() { 92 92 this.minSubTreeCount = new Dictionary<string, int>(); -
trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/GlobalSymbolicExpressionGrammar.cs
r4249 r4262 30 30 [StorableClass] 31 31 [Item("GlobalSymbolicExpressionGrammar", "Represents a grammar that defines the syntax of symbolic expression trees.")] 32 public class GlobalSymbolicExpressionGrammar : DefaultSymbolicExpressionGrammar {32 public sealed class GlobalSymbolicExpressionGrammar : DefaultSymbolicExpressionGrammar { 33 33 [Storable] 34 34 private int minFunctionDefinitions; … … 103 103 104 104 //ctor for cloning 105 pr otectedGlobalSymbolicExpressionGrammar() : base() { }105 private GlobalSymbolicExpressionGrammar() : base() { } 106 106 [StorableConstructor] 107 pr otectedGlobalSymbolicExpressionGrammar(bool deserializing)107 private GlobalSymbolicExpressionGrammar(bool deserializing) 108 108 : base(deserializing) { 109 109 }
Note: See TracChangeset
for help on using the changeset viewer.