- Timestamp:
- 03/08/09 11:04:49 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP/Recombination/SizeConstrictedGPCrossoverBase.cs
r1212 r1286 42 42 } 43 43 44 internal override IFunctionTree Cross(IScope scope, TreeGardener gardener, MersenneTwisterrandom, IFunctionTree tree0, IFunctionTree tree1) {44 internal override IFunctionTree Cross(IScope scope, TreeGardener gardener, IRandom random, IFunctionTree tree0, IFunctionTree tree1) { 45 45 int maxTreeHeight = GetVariableValue<IntData>("MaxTreeHeight", scope, true).Data; 46 46 int maxTreeSize = GetVariableValue<IntData>("MaxTreeSize", scope, true).Data; … … 62 62 } 63 63 64 internal abstract IFunctionTree Cross(TreeGardener gardener, MersenneTwisterrandom, IFunctionTree tree0, IFunctionTree tree1, int maxTreeSize, int maxTreeHeight);64 internal abstract IFunctionTree Cross(TreeGardener gardener, IRandom random, IFunctionTree tree0, IFunctionTree tree1, int maxTreeSize, int maxTreeHeight); 65 65 66 private IFunctionTree TakeNextParent(IScope scope) {67 IFunctionTree parent = GetVariableValue<IFunctionTree>("FunctionTree", scope.SubScopes[0], false);68 scope.RemoveSubScope(scope.SubScopes[0]);69 return parent;70 }66 //private IFunctionTree TakeNextParent(IScope scope) { 67 // IFunctionTree parent = GetVariableValue<IFunctionTree>("FunctionTree", scope.SubScopes[0], false); 68 // scope.RemoveSubScope(scope.SubScopes[0]); 69 // return parent; 70 //} 71 71 } 72 72 }
Note: See TracChangeset
for help on using the changeset viewer.