Package net.maswag.falcaun
Class IODiscreteSignal<I>
java.lang.Object
net.maswag.falcaun.AbstractIOSignal<I>
net.maswag.falcaun.IODiscreteSignal<I>
- Type Parameters:
I
- the type of the input and output signals
- All Implemented Interfaces:
IOSignal<I>
A discrete-time signal with both input and output values.
-
Field Summary
Fields inherited from class net.maswag.falcaun.AbstractIOSignal
inputSignal, outputSignal
-
Constructor Summary
ConstructorsConstructorDescriptionIODiscreteSignal
(net.automatalib.word.Word<I> inputSignal, net.automatalib.word.Word<I> outputSignal) -
Method Summary
Modifier and TypeMethodDescriptionprefixes
(boolean longestFirst) Returns all the prefix of the signal.stream()
Returns a stream of the signal.subWord
(int fromIndex) Constructs a sub-signal of the signal.subWord
(int fromIndex, int toIndex) Constructs a sub-signal of the signal.suffix
(int suffixLen) Constructs a suffix of the signal.suffixes
(boolean longestFirst) Constructs all suffixes of the signal.Methods inherited from class net.maswag.falcaun.AbstractIOSignal
getOutputSymbol, size
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.maswag.falcaun.IOSignal
getInputSignal, getOutputSignal, isEmpty, length
-
Constructor Details
-
IODiscreteSignal
-
-
Method Details
-
stream
Description copied from interface:IOSignal
Returns a stream of the signal.- Returns:
- the stream of the signal.
-
prefixes
Description copied from interface:IOSignal
Returns all the prefix of the signal.- Parameters:
longestFirst
- if true, the longest prefixes are returned first.- Returns:
- the list of prefixes of the signal.
-
suffixes
Description copied from interface:IOSignal
Constructs all suffixes of the signal.- Parameters:
longestFirst
- if true, the longest suffixes are returned first.- Returns:
- the list of suffixes of the signal.
-
suffix
Description copied from interface:IOSignal
Constructs a suffix of the signal.- Parameters:
suffixLen
- the length of the suffix- Returns:
- the suffix of the signal with the given length.
-
subWord
Description copied from interface:IOSignal
Constructs a sub-signal of the signal.- Parameters:
fromIndex
- the start index (inclusive)- Returns:
- the sub-signal of the signal from the given index (inclusive) to the end of the signal.
-
subWord
Constructs a sub-signal of the signal.- Parameters:
fromIndex
- the start index (inclusive)toIndex
- the end index (exclusive)- Returns:
- the sub-signal of the signal from the given index (inclusive) to the given index (exclusive).
-