Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
09/22/21 13:55:10 (3 years ago)
Author:
pfleck
Message:

#3040 Switched from offset-length sub-vector to "start-end with wrapping" subvector.

File:
1 edited

Legend:

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

    r17573 r18058  
    3737    public double Offset {
    3838      get { return offset; }
    39       set { offset = Math.Min(Math.Max(value, 0.0), 1.0); }     
     39      set { offset = Math.Min(Math.Max(value, 0.0), 1.0); }
    4040    }
    4141    [Storable]
     
    8888    public override string ToString() {
    8989      return Symbol.EnableWindowing
    90         ? base.ToString() + $"[{Offset} : {Length}]"
     90        ? base.ToString() + $"[{Offset:f3} : {Length:f3}]"
    9191        : base.ToString();
    9292    }
Note: See TracChangeset for help on using the changeset viewer.