Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/30/09 10:47:00 (15 years ago)
Author:
gkronber
Message:

GP Refactoring: #713

  • added project GP.Operators
  • moved operators from plugin GP to plugin GP.Operators
  • deleted unused constraints
  • removed dependency of GP plugins on Constraints plugin
  • moved StructID functions into directory Symbols
  • deleted unused class FunView
  • implemented add and remove functionality for the FunctionLibraryView
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/ChangeNodeTypeManipulation.cs

    r2211 r2212  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    2423using System.Linq;
    25 using System.Text;
    2624using HeuristicLab.Core;
    27 using HeuristicLab.Operators;
    2825using HeuristicLab.Random;
    29 using HeuristicLab.Data;
    30 using HeuristicLab.Constraints;
    3126using System.Diagnostics;
    3227using HeuristicLab.GP.Interfaces;
    3328
    34 namespace HeuristicLab.GP {
     29namespace HeuristicLab.GP.Operators {
    3530  public class ChangeNodeTypeManipulation : GPManipulatorBase {
    3631
     
    7368        // size and height stays the same when changing a terminal so no need to update the variables
    7469        // schedule an operation to initialize the new terminal
    75         return TreeGardener.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newTerminal), scope);
     70        return Util.CreateInitializationOperation(TreeGardener.GetAllSubTrees(newTerminal), scope);
    7671      } else {
    7772        List<IFunctionTree> uninitializedBranches;
     
    10499        Debug.Assert(gardener.IsValidTree(gpModel.FunctionTree));
    105100        // return a composite operation that initializes all created sub-trees
    106         return TreeGardener.CreateInitializationOperation(uninitializedBranches, scope);
     101        return Util.CreateInitializationOperation(uninitializedBranches, scope);
    107102      }
    108103    }
Note: See TracChangeset for help on using the changeset viewer.