Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/27/11 10:26:09 (13 years ago)
Author:
mkommend
Message:

ticket #1374 - Implemented root symbol and changed power as well as root symbol to use a rounded exponent.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis/3.3/Symbolic/Symbols/Root.cs

    r5378 r5384  
    2626namespace HeuristicLab.Problems.DataAnalysis.Symbolic.Symbols {
    2727  [StorableClass]
    28   [Item("Power", "Symbol that represents the power function.")]
    29   public sealed class Power : Symbol {
     28  [Item("Root", "Symbol that represents the n-th root function.")]
     29  public sealed class Root : Symbol {
    3030    [StorableConstructor]
    31     private Power(bool deserializing) : base(deserializing) { }
    32     private Power(Power original, Cloner cloner) : base(original, cloner) { }
     31    private Root(bool deserializing) : base(deserializing) { }
     32    private Root(Root original, Cloner cloner) : base(original, cloner) { }
    3333    public override IDeepCloneable Clone(Cloner cloner) {
    34       return new Power(this, cloner);
     34      return new Root(this, cloner);
    3535    }
    36     public Power() : base("Power", "Symbol that represents the power function.") { }
     36    public Root() : base("Root", "Symbol that represents the n-th root function.") { }
    3737  }
    3838}
Note: See TracChangeset for help on using the changeset viewer.