Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/09 19:24:23 (15 years ago)
Author:
gkronber
Message:

Created a branch for #713

Location:
branches/GP-Refactoring-713
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/GP-Refactoring-713/sources/HeuristicLab.GP.StructureIdentification/3.3/Logarithm.cs

    r1529 r2202  
    2929
    3030namespace HeuristicLab.GP.StructureIdentification {
    31   public sealed class Logarithm : FunctionBase {
     31  public sealed class Logarithm : UnaryFunction {
    3232    public override string Description {
    3333      get { return "Returns the natural (base e) logarithm of the first sub-tree."; }
     
    3636    public Logarithm()
    3737      : base() {
    38       // must have exactly 1 suboperator
    39       AddConstraint(new NumberOfSubOperatorsConstraint(1, 1));
    40       AddConstraint(new SubOperatorTypeConstraint(0));
    4138    }
    4239  }
Note: See TracChangeset for help on using the changeset viewer.