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