Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/17/09 14:36:59 (15 years ago)
Author:
mkommend
Message:

changed allowed suboperators for division and subtraction to 2 (ticket #675)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Subtraction.cs

    r1529 r2054  
    4343      : base() {
    4444      // 2 - 3 seems like an reasonable defaut (used for +,-,*,/) (discussion with swinkler and maffenze)
    45       AddConstraint(new NumberOfSubOperatorsConstraint(2, 3));
     45      //MK changed to only 2 allowed suboperators to be compliant with HL2
     46      AddConstraint(new NumberOfSubOperatorsConstraint(2, 2));
    4647      AddConstraint(new SubOperatorTypeConstraint(0));
    4748      AddConstraint(new SubOperatorTypeConstraint(1));
    48       AddConstraint(new SubOperatorTypeConstraint(2));
    4949    }
    5050  }
Note: See TracChangeset for help on using the changeset viewer.