Changeset 2202 for branches/GP-Refactoring-713/sources/HeuristicLab.GP.StructureIdentification/3.3/Exponential.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/Exponential.cs
r1529 r2202 29 29 30 30 namespace HeuristicLab.GP.StructureIdentification { 31 public sealed class Exponential : FunctionBase{31 public sealed class Exponential : UnaryFunction { 32 32 public override string Description { 33 33 get { return "Returns returns exponential of the first sub-tree (power(e, x))."; } 34 34 } 35 35 36 public Exponential() 37 : base() { 38 // must have exactly one sub-operator 39 AddConstraint(new NumberOfSubOperatorsConstraint(1, 1)); 40 AddConstraint(new SubOperatorTypeConstraint(0)); 41 } 36 public Exponential() : base() { } 42 37 } 43 38 }
Note: See TracChangeset
for help on using the changeset viewer.