Interface SignalDiscretizer

All Superinterfaces:
Mapper<String,String,List<Double>,IOSignalPiece<List<Double>>>, Mapper.SynchronousMapper<String,String,List<Double>,IOSignalPiece<List<Double>>>, SULMapper<String,String,List<Double>,IOSignalPiece<List<Double>>>
All Known Subinterfaces:
ComponentWiseSignalDiscretizer
All Known Implementing Classes:
NumericSULMapper, NumericSULMapperWithSGA, PostComposedSignalDiscretizer, PreComposedSignalDiscretizer, SignalAdapter

public interface SignalDiscretizer extends SULMapper<String,String,List<Double>,IOSignalPiece<List<Double>>>
  • Method Details

    • mapInput

      List<Double> mapInput(String s)
      Maps an abstract input string to a concrete list of double values.
      Specified by:
      mapInput in interface Mapper<String,String,List<Double>,IOSignalPiece<List<Double>>>
      Parameters:
      s - The abstract input string to map.
      Returns:
      The concrete list of double values corresponding to the input string.
    • mapOutput

      String mapOutput(IOSignalPiece<List<Double>> concreteIO)
      Maps a concrete IOSignalPiece to an abstract output string.
      Specified by:
      mapOutput in interface Mapper<String,String,List<Double>,IOSignalPiece<List<Double>>>
      Parameters:
      concreteIO - The concrete IOSignalPiece to map.
      Returns:
      The abstract output string corresponding to the concrete output.
    • mapInput

      default net.automatalib.word.Word<List<Double>> mapInput(@NonNull @NonNull net.automatalib.word.Word<String> abstractInput)
      Maps an abstract input word to a concrete word.
      Parameters:
      abstractInput - The abstract input word to map.
      Returns:
      The concrete word corresponding to the abstract input word.
    • mapInputs

      default List<net.automatalib.word.Word<List<Double>>> mapInputs(List<net.automatalib.word.Word<String>> abstractInputs)
      Maps a list of abstract input words to a list of concrete words.
      Parameters:
      abstractInputs - The list of abstract input words to map.
      Returns:
      The list of concrete words corresponding to the abstract input words.
    • mapConcrete

      default List<Double> mapConcrete(IOSignalPiece<List<Double>> concreteIO)
      Maps a concrete IOSignalPiece to a list of concrete output values.
      Parameters:
      concreteIO - The concrete IOSignalPiece to map.
      Returns:
      The list of concrete output values.
    • getPostOutputMapper

      default Optional<Map<String,String>> getPostOutputMapper()
      Provides an optional mapping to transform abstract output strings.
      Returns:
      An Optional containing the post-output mapper if available, otherwise Optional.empty().
    • constructAbstractAlphabet

      net.automatalib.alphabet.Alphabet<String> constructAbstractAlphabet()
      Constructs an abstract alphabet from the input mappings.
      Returns:
      The abstract alphabet.
    • constructConcreteAlphabet

      net.automatalib.alphabet.Alphabet<List<Double>> constructConcreteAlphabet()
      Constructs a concrete alphabet from the input mappings.
      Returns:
      The concrete alphabet.