Class Config.CorrelationConfig

java.lang.Object
com.inertia.promove.Config.CorrelationConfig
All Implemented Interfaces:
Config.AbstractConfig, Config.LegacyConfig
Enclosing class:
Config

@Deprecated
public static class Config.CorrelationConfig
extends java.lang.Object
implements Config.LegacyConfig
Deprecated.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    int history
    Deprecated.
     
    int minimumHistory
    Deprecated.
     
    int windowOverlap
    Deprecated.
     
    int windowSize
    Deprecated.
     
  • Constructor Summary

    Constructors 
    Constructor Description
    CorrelationConfig()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    int getBytes​(byte[] out)
    Deprecated.
    encode current configuration in a byte array
    Config.Mask getMask()
    Deprecated.
    get mask
    int parse​(byte[] in)
    Deprecated.
    pare input byte array to relevant configuration and return length of encoded config
    void set​(int _windowSize, int _windowOverlap, int _history, int _minimumHistory)
    Deprecated.
    set correlation parameters
    java.lang.String toString()
    Deprecated.
    create a string representation of the configuration

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • set

      public void set​(int _windowSize, int _windowOverlap, int _history, int _minimumHistory)
      Deprecated.
      set correlation parameters
      Parameters:
      _windowSize - the window size
      _windowOverlap - the window overlap
      _history - the history
      _minimumHistory - the minimum history
    • parse

      public int parse​(byte[] in) throws InertiaException
      Deprecated.
      Description copied from interface: Config.AbstractConfig
      pare input byte array to relevant configuration and return length of encoded config
      Specified by:
      parse in interface Config.AbstractConfig
      Parameters:
      in - input byte array
      Returns:
      length of encoded config
      Throws:
      InertiaException - upon error such as when length is insufficient
    • getBytes

      public int getBytes​(byte[] out)
      Deprecated.
      Description copied from interface: Config.AbstractConfig
      encode current configuration in a byte array
      Specified by:
      getBytes in interface Config.AbstractConfig
      Parameters:
      out - byte array for encoded configuration
      Returns:
      length of encoded configuration
    • toString

      public java.lang.String toString()
      Deprecated.
      Description copied from interface: Config.AbstractConfig
      create a string representation of the configuration
      Specified by:
      toString in interface Config.AbstractConfig
      Overrides:
      toString in class java.lang.Object
      Returns:
      string representation of configuration
    • getMask

      public Config.Mask getMask()
      Deprecated.
      Description copied from interface: Config.AbstractConfig
      get mask
      Specified by:
      getMask in interface Config.AbstractConfig
      Returns:
      mask for this config