Package net.maswag.falcaun
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
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.automatalib.alphabet.Alphabet<String>Constructs an abstract alphabet from the input mappings.Constructs a concrete alphabet from the input mappings.Provides an optional mapping to transform abstract output strings.mapConcrete(IOSignalPiece<List<Double>> concreteIO) Maps a concrete IOSignalPiece to a list of concrete output values.Maps an abstract input word to a concrete word.Maps an abstract input string to a concrete list of double values.Maps a list of abstract input words to a list of concrete words.mapOutput(IOSignalPiece<List<Double>> concreteIO) Maps a concrete IOSignalPiece to an abstract output string.Methods inherited from interface de.learnlib.sul.SULMapper
canFork, fork, mapUnwrappedException, mapWrappedException
-
Method Details
-
mapInput
Maps an abstract input string to a concrete list of double values. -
mapOutput
Maps a concrete IOSignalPiece to an abstract output string. -
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
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
Provides an optional mapping to transform abstract output strings.- Returns:
- An
Optionalcontaining the post-output mapper if available, otherwiseOptional.empty().
-
constructAbstractAlphabet
net.automatalib.alphabet.Alphabet<String> constructAbstractAlphabet()Constructs an abstract alphabet from the input mappings.- Returns:
- The abstract alphabet.
-
constructConcreteAlphabet
Constructs a concrete alphabet from the input mappings.- Returns:
- The concrete alphabet.
-