Interface SignalMapper

All Known Implementing Classes:
ExtendedSignalMapper, SimpleSignalMapper

public interface SignalMapper
Interface to construct pseudo signals from concrete signals
  • Method Summary

    Modifier and Type
    Method
    Description
    double
    apply(int index, IOSignalPiece<List<Double>> concreteSignal)
    Given concreteSignal, construct index-th signal
    int
     
  • Method Details

    • apply

      double apply(int index, IOSignalPiece<List<Double>> concreteSignal)
      Given concreteSignal, construct index-th signal
      Parameters:
      index - The index of the signal to apply the mapper. It is required to be 0 <= index < size()
      concreteSignal - The concrete signal to be mapped
      Returns:
      The constructed concrete output value
    • size

      int size()
      Returns:
      The size of the mapper, i.e. the number of signals it can map. It is ensured to be >= 0