Changeset 2202 for branches/GP-Refactoring-713/sources/HeuristicLab.GP.StructureIdentification/3.3/Subtraction.cs
- Timestamp:
- 07/28/09 19:24:23 (15 years ago)
- Location:
- branches/GP-Refactoring-713
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/GP-Refactoring-713/sources/HeuristicLab.GP.StructureIdentification/3.3/Subtraction.cs
r2054 r2202 30 30 31 31 namespace HeuristicLab.GP.StructureIdentification { 32 public sealed class Subtraction : FunctionBase{32 public sealed class Subtraction : BinaryFunction { 33 33 public override string Description { 34 34 get { … … 42 42 public Subtraction() 43 43 : base() { 44 // 2 - 3 seems like an reasonable defaut (used for +,-,*,/) (discussion with swinkler and maffenze)45 //MK changed to only 2 allowed suboperators to be compliant with HL246 AddConstraint(new NumberOfSubOperatorsConstraint(2, 2));47 AddConstraint(new SubOperatorTypeConstraint(0));48 AddConstraint(new SubOperatorTypeConstraint(1));49 44 } 50 45 }
Note: See TracChangeset
for help on using the changeset viewer.