Changeset 2212 for branches/GP-Refactoring-713/sources/HeuristicLab.GP.Operators/3.3/Manipulation/DeleteSubTreeManipulation.cs
- Timestamp:
- 07/30/09 10:47:00 (15 years ago)
- Location:
- branches/GP-Refactoring-713/sources/HeuristicLab.GP.Operators
- Files:
-
- 2 added
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-Refactoring-713/sources/HeuristicLab.GP.Operators/3.3/Manipulation/DeleteSubTreeManipulation.cs
r2211 r2212 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using HeuristicLab.Core; 25 using HeuristicLab.Data;26 using HeuristicLab.Operators;27 24 using HeuristicLab.Random; 28 25 using System.Diagnostics; 29 26 using HeuristicLab.GP.Interfaces; 30 27 31 namespace HeuristicLab.GP {28 namespace HeuristicLab.GP.Operators { 32 29 public class DeleteSubTreeManipulation : GPManipulatorBase { 33 30 public override string Description { … … 54 51 gpModel.FunctionTree = newTree; 55 52 // schedule an operation to initialize the newly created operator 56 return TreeGardener.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newTree), scope);53 return Util.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newTree), scope); 57 54 } 58 55 … … 84 81 gpModel.Height = gpModel.FunctionTree.GetHeight(); 85 82 // return an initialization operation for the newly created tree 86 return TreeGardener.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newFunctionTree), scope);83 return Util.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newFunctionTree), scope); 87 84 } 88 85 }
Note: See TracChangeset
for help on using the changeset viewer.