Changeset 2202 for branches/GP-Refactoring-713/sources/HeuristicLab.GP.StructureIdentification/3.3/GreaterThan.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/GreaterThan.cs
r1529 r2202 27 27 28 28 namespace HeuristicLab.GP.StructureIdentification { 29 public sealed class GreaterThan : FunctionBase{29 public sealed class GreaterThan : BinaryFunction { 30 30 public override string Description { 31 31 get { … … 34 34 } 35 35 36 public GreaterThan() 37 : base() { 38 AddConstraint(new NumberOfSubOperatorsConstraint(2, 2)); 39 AddConstraint(new SubOperatorTypeConstraint(0)); 40 AddConstraint(new SubOperatorTypeConstraint(1)); 41 } 36 public GreaterThan() : base() { } 42 37 } 43 38 }
Note: See TracChangeset
for help on using the changeset viewer.