Package net.maswag.falcaun
Class ExtendedIOSignalPiece<I>
java.lang.Object
net.maswag.falcaun.IOSignalPiece<I>
net.maswag.falcaun.ExtendedIOSignalPiece<I>
- Type Parameters:
I
- the type of the input and output signals
A pair of input and output signals at one time step potentially with some previous output signals.
This class is used for continuous-time systems with discrete sampling.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe previous output signals. -
Constructor Summary
ConstructorsConstructorDescriptionExtendedIOSignalPiece
(I inputSignal, I outputSignal, List<I> previousOutputSignals) Constructor for the signal pieces.ExtendedIOSignalPiece
(I inputStep, ValueWithTime<I> outputSignal, Double from, Double to) Constructor for the first signal piece. -
Method Summary
-
Field Details
-
previousOutputSignals
The previous output signals.
-
-
Constructor Details
-
ExtendedIOSignalPiece
Constructor for the signal pieces.- Parameters:
inputSignal
- the current step of the input signaloutputSignal
- the current step of the output signalpreviousOutputSignals
- the output signals between the previous step and the current step excluding the previous step and including the current step- Throws:
IllegalArgumentException
- if the current output signal is not the last element of previousOutputSignals
-
ExtendedIOSignalPiece
Constructor for the first signal piece.- Parameters:
inputStep
- the current step of the input signaloutputSignal
- the entire output signal with time stampsfrom
- the time when the current signal startsto
- the time when the current signal ends. This is the same as the current signal step.
-