Changeset 2202 for branches/GP-Refactoring-713/sources/HeuristicLab.GP/3.3/Manipulation/CutOutNodeManipulation.cs
- Timestamp:
- 07/28/09 19:24:23 (15 years ago)
- Location:
- branches/GP-Refactoring-713
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-Refactoring-713/sources/HeuristicLab.GP/3.3/Manipulation/CutOutNodeManipulation.cs
r656 r2202 50 50 : base() { 51 51 AddVariableInfo(new VariableInfo("Random", "Uniform random number generator", typeof(MersenneTwister), VariableKind.In)); 52 AddVariableInfo(new VariableInfo("OperatorLibrary", "The operator library containing all available operators", typeof( GPOperatorLibrary), VariableKind.In));52 AddVariableInfo(new VariableInfo("OperatorLibrary", "The operator library containing all available operators", typeof(FunctionLibrary), VariableKind.In)); 53 53 AddVariableInfo(new VariableInfo("MaxTreeHeight", "The maximal allowed height of the tree", typeof(IntData), VariableKind.In)); 54 54 AddVariableInfo(new VariableInfo("MaxTreeSize", "The maximal allowed size (number of nodes) of the tree", typeof(IntData), VariableKind.In)); … … 62 62 IFunctionTree root = GetVariableValue<IFunctionTree>("FunctionTree", scope, true); 63 63 MersenneTwister random = GetVariableValue<MersenneTwister>("Random", scope, true); 64 GPOperatorLibrary library = GetVariableValue<GPOperatorLibrary>("OperatorLibrary", scope, true);64 FunctionLibrary library = GetVariableValue<FunctionLibrary>("OperatorLibrary", scope, true); 65 65 int maxTreeHeight = GetVariableValue<IntData>("MaxTreeHeight", scope, true).Data; 66 66 int maxTreeSize = GetVariableValue<IntData>("MaxTreeSize", scope, true).Data;
Note: See TracChangeset
for help on using the changeset viewer.