- Timestamp:
- 11/06/10 01:56:04 (14 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources
- Property svn:mergeinfo changed
/branches/CloningRefactoring (added) merged: 4656-4693,4696-4697,4711-4714,4718-4719
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.ExternalEvaluation.GP/3.3/Grammar/FullFunctionalExpressionGrammar.cs
r4364 r4722 21 21 22 22 using System.Collections.Generic; 23 using System.Linq;23 using HeuristicLab.Common; 24 24 using HeuristicLab.Core; 25 25 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding; … … 33 33 [Storable] 34 34 private HeuristicLab.Problems.ExternalEvaluation.GP.Variable variableSymbol; 35 [StorableConstructor] 36 protected FullFunctionalExpressionGrammar(bool deserializing) : base(deserializing) { } 37 protected FullFunctionalExpressionGrammar(FullFunctionalExpressionGrammar original, Cloner cloner) : base(original, cloner) { } 38 public override IDeepCloneable Clone(Cloner cloner) { 39 return new FullFunctionalExpressionGrammar(this, cloner); 40 } 35 41 36 42 public FullFunctionalExpressionGrammar() … … 75 81 var unaryFunctionSymbols = new List<Symbol>() { sin, cos, tan, log, exp, not }; 76 82 var binaryFunctionSymbols = new List<Symbol>() { gt, lt }; 77 var functionSymbols = new List<Symbol>() { add, sub, mul, div, mean, and, or };83 var functionSymbols = new List<Symbol>() { add, sub, mul, div, mean, and, or }; 78 84 79 85 foreach (var symb in allSymbols)
Note: See TracChangeset
for help on using the changeset viewer.