Changeset 5549 for branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/ArgumentCreater.cs
- Timestamp:
- 02/22/11 19:04:54 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/ArgumentCreater.cs
r5529 r5549 101 101 ArgumentTreeNode newArgumentNode = MakeArgumentNode(newArgumentIndex); 102 102 103 // this operation potentially creates very big trees so the access to the sizeproperty might throw overflow exception103 // this operation potentially creates very big trees so the access to the length property might throw overflow exception 104 104 try { 105 if (CreateNewArgumentForDefun(random, clonedTree, selectedDefunBranch, newArgumentNode) && clonedTree. Size <= maxTreeLength && clonedTree.Height<= maxTreeDepth) {105 if (CreateNewArgumentForDefun(random, clonedTree, selectedDefunBranch, newArgumentNode) && clonedTree.Length <= maxTreeLength && clonedTree.Depth <= maxTreeDepth) { 106 106 107 107 // size constraints are fulfilled
Note: See TracChangeset
for help on using the changeset viewer.