Changeset 4722 for trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/ArgumentDeleter.cs
- Timestamp:
- 11/06/10 01:56:04 (13 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.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/ArgumentDeleter.cs
r4068 r4722 21 21 22 22 using System.Linq; 23 using HeuristicLab.Common; 23 24 using HeuristicLab.Core; 24 25 using HeuristicLab.Data; … … 33 34 [StorableClass] 34 35 public sealed class ArgumentDeleter : SymbolicExpressionTreeArchitectureManipulator { 36 [StorableConstructor] 37 private ArgumentDeleter(bool deserializing) : base(deserializing) { } 38 private ArgumentDeleter(ArgumentDeleter original, Cloner cloner) : base(original, cloner) { } 39 public ArgumentDeleter() : base() { } 40 35 41 public override sealed void ModifyArchitecture( 36 42 IRandom random, … … 41 47 out bool success) { 42 48 success = DeleteArgument(random, symbolicExpressionTree, grammar, maxTreeSize.Value, maxTreeHeight.Value, maxFunctionDefiningBranches.Value, maxFunctionArguments.Value); 49 } 50 51 public override IDeepCloneable Clone(Cloner cloner) { 52 return new ArgumentDeleter(this, cloner); 43 53 } 44 54
Note: See TracChangeset
for help on using the changeset viewer.