Changeset 3823
- Timestamp:
- 05/17/10 11:32:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/sources/HeuristicLab.GP.Operators/3.3/Manipulation/ChangeNodeTypeManipulation.cs
r2222 r3823 129 129 int actualArity = child.SubTrees.Count; 130 130 // create a new tree-node for a randomly selected function 131 IFunction selectedFunction = allowedFunctions[random.Next(allowedFunctions.Count)];131 IFunction selectedFunction = TreeGardener.RandomSelect(random, allowedFunctions); 132 132 // arity of the selected operator 133 133 int minArity = selectedFunction.MinSubTrees;
Note: See TracChangeset
for help on using the changeset viewer.