Package net.maswag.falcaun
Class IOContinuousSignal<I>
java.lang.Object
net.maswag.falcaun.AbstractIOSignal<I>
net.maswag.falcaun.IOContinuousSignal<I>
- Type Parameters:
I
- the type of the input and output signals
- All Implemented Interfaces:
IOSignal<I>
A signal with continuous output values.
-
Field Summary
FieldsFields inherited from class net.maswag.falcaun.AbstractIOSignal
inputSignal, outputSignal
-
Constructor Summary
ConstructorsConstructorDescriptionIOContinuousSignal
(net.automatalib.word.Word<I> inputSignal, net.automatalib.word.Word<I> outputSignal, ValueWithTime<I> continuousOutputSignal, Double signalStep) -
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
-
Field Details
-
continuousOutputSignal
ValueWithTime<I> continuousOutputSignal -
signalStep
Double signalStep
-
-
Constructor Details
-
IOContinuousSignal
public IOContinuousSignal(net.automatalib.word.Word<I> inputSignal, net.automatalib.word.Word<I> outputSignal, ValueWithTime<I> continuousOutputSignal, Double signalStep)
-
-
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).
-