Package net.maswag.falcaun.abstraction
Class SignalAdapter
java.lang.Object
net.maswag.falcaun.abstraction.SignalAdapter
- All Implemented Interfaces:
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>>> ComponentWiseSignalDiscretizer,SignalDiscretizer
I/O Mapper between abstract/concrete signals using InputMapper and OutputMapper.
This class implements the SULMapper interface to provide mapping between abstract string-based inputs/outputs and concrete signal-based inputs/outputs. It uses InputMapper and OutputMapper for the mapping operations.
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescription -
Constructor Summary
ConstructorsConstructorDescriptionSignalAdapter(InputMapper inputMapper, OutputMapper outputMapper) Constructor for SignalAdapter without SignalMapper. -
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.Maps an abstract input string to a concrete list of double values.mapOutput(IOSignalPiece<List<Double>> concreteIO) Maps a concrete IOSignalPiece to an abstract output string.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.maswag.falcaun.abstraction.ComponentWiseSignalDiscretizer
getAbstractOutputs, getLargestOutputs, postCompose, preComposeMethods inherited from interface net.maswag.falcaun.abstraction.SignalDiscretizer
getPostOutputMapper, mapConcrete, mapInput, mapInputsMethods inherited from interface de.learnlib.sul.SULMapper
canFork, fork, mapUnwrappedException, mapWrappedException
-
Field Details
-
inputMappings
-
largestOutputs
-
abstractOutputs
-
concreteOutputs
-
-
Constructor Details
-
SignalAdapter
Constructor for SignalAdapter without SignalMapper.- Parameters:
inputMapper- The InputMapper for mapping abstract inputs to concrete inputs.outputMapper- The OutputMapper for mapping concrete outputs to abstract outputs.
-
-
Method Details
-
mapInput
Description copied from interface:SignalDiscretizerMaps an abstract input string to a concrete list of double values. -
mapOutput
Description copied from interface:SignalDiscretizerMaps a concrete IOSignalPiece to an abstract output string. -
constructAbstractAlphabet
Description copied from interface:SignalDiscretizerConstructs an abstract alphabet from the input mappings.- Specified by:
constructAbstractAlphabetin interfaceSignalDiscretizer- Returns:
- The abstract alphabet.
-
constructConcreteAlphabet
Description copied from interface:SignalDiscretizerConstructs a concrete alphabet from the input mappings.- Specified by:
constructConcreteAlphabetin interfaceSignalDiscretizer- Returns:
- The concrete alphabet.
-