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/Power.cs

    r1529 r2202  
    2929
    3030namespace HeuristicLab.GP.StructureIdentification {
    31   public sealed class Power : FunctionBase {
     31  public sealed class Power : BinaryFunction {
    3232    public override string Description {
    3333      get { return "Returns the result of the first sub-tree to the power of the second sub-tree (power(x, y))."; }
     
    3636    public Power()
    3737      : base() {
    38       // must have exactly 2 suboperators base ^ exponent
    39       AddConstraint(new NumberOfSubOperatorsConstraint(2, 2));
    40       AddConstraint(new SubOperatorTypeConstraint(0));
    41       AddConstraint(new SubOperatorTypeConstraint(1));
    4238    }
    4339  }
Note: See TracChangeset for help on using the changeset viewer.