Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/22/11 19:04:54 (13 years ago)
Author:
gkronber
Message:

#1418 unified size/height vs. length/depth terminology and adapted unit tests for symbolic expression tree encoding version 3.4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataAnalysis Refactoring/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.4/ArchitectureManipulators/ArgumentCreater.cs

    r5529 r5549  
    101101      ArgumentTreeNode newArgumentNode = MakeArgumentNode(newArgumentIndex);
    102102
    103       // this operation potentially creates very big trees so the access to the size property might throw overflow exception
     103      // this operation potentially creates very big trees so the access to the length property might throw overflow exception
    104104      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) {
    106106
    107107          // size constraints are fulfilled
Note: See TracChangeset for help on using the changeset viewer.