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.4/Division.cs

    r1529 r2054  
    4949      : base() {
    5050      // 2 - 3 seems like an reasonable defaut (used for +,-,*,/) (discussion with swinkler and maffenze)
    51       AddConstraint(new NumberOfSubOperatorsConstraint(2, 3));
     51      //MK changed to only 2 allowed suboperators to be compliant with HL2
     52      AddConstraint(new NumberOfSubOperatorsConstraint(2, 2));
    5253      AddConstraint(new SubOperatorTypeConstraint(0));
    5354      AddConstraint(new SubOperatorTypeConstraint(1));
    54       AddConstraint(new SubOperatorTypeConstraint(2));
    5555    }
    5656  }
Note: See TracChangeset for help on using the changeset viewer.