Search Results for

    Show / Hide Table of Contents

    Class WindowOptions

    Options for creating windows over time series data.

    Inheritance
    System.Object
    WindowOptions
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: BayesServer.Data.TimeSeries
    Assembly: BayesServer.Data.dll
    Syntax
    public sealed class WindowOptions

    Constructors

    WindowOptions(Int32, Int32)

    Initializes a new instance of the WindowOptions class, with a shift of 1.

    Declaration
    public WindowOptions(int history, int future)
    Parameters
    Type Name Description
    System.Int32 history

    The number of historic records to include in the time window.

    System.Int32 future

    The number of future records to include in the time window.

    WindowOptions(Int32, Int32, Int32)

    Initializes a new instance of the WindowOptions class.

    Declaration
    public WindowOptions(int history, int future, int shift)
    Parameters
    Type Name Description
    System.Int32 history

    The number of historic records to include in the time window.

    System.Int32 future

    The number of future records to include in the time window.

    System.Int32 shift

    The number of records between successive windows.

    WindowOptions(Int32[], Int32)

    Initializes a new instance of the WindowOptions class.

    Declaration
    public WindowOptions(int[] times, int shift)
    Parameters
    Type Name Description
    System.Int32[] times

    The times to include in the window. E.g. -5, -3, 0, 3, 10. Include zero if the current time should be included.

    System.Int32 shift

    The number of records between successive windows.

    Properties

    Shift

    Gets or sets the number of records between successive windows. Defaults to 1, meaning each window is shifted by 1 record.

    Declaration
    public int Shift { get; set; }
    Property Value
    Type Description
    System.Int32

    Times

    Gets or sets the times to include in the window. E.g. -5, -3, 0, 3, 10. Include zero if the current time should be included.

    Declaration
    public int[] Times { get; set; }
    Property Value
    Type Description
    System.Int32[]
    In This Article
    Back to top Copyright Bayes Server Ltd. All rights Reserved.