Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/24/11 19:04:27 (14 years ago)
Author:
gkronber
Message:

#1136 Fixed test cases for symbolic expression tree encoding operators (+ minor bug fixes in symbolic expression tree operators).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Encodings.SymbolicExpressionTreeEncoding/3.3/ArchitectureManipulators/ArgumentCreater.cs

    r4722 r5367  
    8484      // this operation potentially creates very big trees so the access to the size property might throw overflow exception
    8585      try {
    86         if (CreateNewArgumentForDefun(random, clonedTree, selectedDefunBranch, newArgumentNode) && clonedTree.Size < maxTreeSize && clonedTree.Height < maxTreeHeight) {
     86        if (CreateNewArgumentForDefun(random, clonedTree, selectedDefunBranch, newArgumentNode) && clonedTree.Size <= maxTreeSize && clonedTree.Height <= maxTreeHeight) {
    8787
    8888          // size constraints are fulfilled
Note: See TracChangeset for help on using the changeset viewer.