Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/26/20 16:43:25 (4 years ago)
Author:
pfleck
Message:

#3040 Added a constant opt evaluator for vectors that uses the existing AutoDiff library by unrolling all vector operations.

File:
1 copied

Legend:

Unmodified
Added
Removed
  • branches/3040_VectorBasedGP/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/Symbols/SubVector.cs

    r17725 r17726  
    2222using HeuristicLab.Common;
    2323using HeuristicLab.Core;
    24 using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
    2524using HEAL.Attic;
    2625
    2726namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
    28   [StorableType("C6C245BF-C44A-4207-A268-55641483F27F")]
    29   [Item("Sum", "Symbol that represents the sum function.")]
    30   public sealed class Sum : WindowedSymbol {
     27  [StorableType("4E9511C6-0FA4-496D-9610-35D9F779F899")]
     28  [Item("SubVector", "Symbol that represents SubVector sum function.")]
     29  public sealed class SubVector : WindowedSymbol {
    3130    private const int minimumArity = 1;
    3231    private const int maximumArity = 1;
     
    4039
    4140    [StorableConstructor]
    42     private Sum(StorableConstructorFlag _) : base(_) { }
    43     private Sum(Sum original, Cloner cloner) : base(original, cloner) { }
     41    private SubVector(StorableConstructorFlag _) : base(_) { }
     42    private SubVector(SubVector original, Cloner cloner) : base(original, cloner) { }
    4443    public override IDeepCloneable Clone(Cloner cloner) {
    45       return new Sum(this, cloner);
     44      return new SubVector(this, cloner);
    4645    }
    47     public Sum() : base("Sum", "Symbol that represents the sum function.") { }
     46    public SubVector() : base("SubVector", "Symbol that represents the SubVector function.") { }
    4847  }
    4948}
Note: See TracChangeset for help on using the changeset viewer.