trait SignalProcessing0 extends AnyRef
A generic trait for different signal processing methods. There are two descendants - a tracking one and a simple one. The tracking signal processor keeps track of what signals were produced during processing. The simple one do not save traces. So it requires less memory for processing.
Keeping traces can greatly help with debugging. One may see which signals and processors have lead to the result. It may be worth to save trellis to dot file.
Having a common ancestor for both types of processing is advantageous because there will be no code duplication among processors.
- Alphabetic
- By Inheritance
- SignalProcessing0
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
RuntimeSystemForTrellisProcessingTracking
extends AnyRef
Tracking processing collects lost and final traces during signal processing.
Tracking processing collects lost and final traces during signal processing. (Lost traces are those that haven't produced any result.) Be careful! Collecting traces in a system with intensive processing can quickly lead to memory overflow. This processing is intended for debug purposes.
-
abstract
type
TSignal
The type that is used to represent a single value related to signal
- type TSignals = List[TSignal]
-
trait
TotalTrellisBuilder
extends AnyRef
TrellisBuilder is a way for a final user to watch the process of trellis building.
TrellisBuilder is a way for a final user to watch the process of trellis building. One may override #newTotalTrellisBuilder and put own implementation of TotalTrellisBuilder.
- type TotalTrellisProducerTracking = (SignalProcessingApi0.Context, SignalProcessingApi0.Signal[_]) ⇒ TrellisElementTracking
-
trait
TrellisBuilder
extends AnyRef
Constructs trellis.
Constructs trellis. After running a proc over the trace signal, we construct the next step of the trellis. An instance of this class is constructed anew for every trellis step.
- type TrellisElement = (SignalProcessingApi0.Context, TSignals)
- type TrellisElementTracking = (SignalProcessingApi0.Context, TSignals)
-
case class
TrellisProducerLoopyTracking
(trellisProducer: TrellisProducerSpeedyTracking, stopContacts: Set[SignalProcessingApi0.Contact[_]]) extends TotalTrellisProducerTracking with Product with Serializable
Generates trellis until there are some data on nonStop contacts.
Generates trellis until there are some data on nonStop contacts. Can also process signals from child subsystems (not constrained only to input contacts). Processes one signal at a time. Has the same interface as RuntimeComponentMultiState.
It works as follows. Constructs a lazy evaluated Stream of TrellisElement s (method
from). Then searches within the stream for a first element that contains only signals at stop contacts. -
case class
TrellisProducerSpeedyTracking
(runtimeSystemForTrellisProcessing: RuntimeSystemForTrellisProcessingTracking) extends Product with Serializable
A component that does single step along the trellis.
- type TrellisProducerTracking = (TotalTrellisBuilder) ⇒ (TSignals) ⇒ TSignals
Abstract Value Members
- abstract def newTotalTrellisBuilder(runtimeSystem: SignalProcessingApi0.RuntimeSystem, context: SignalProcessingApi0.Context): TotalTrellisBuilder
- abstract def signalToTSignal(s: SignalProcessingApi0.Signal[_]): TSignal
- implicit abstract def tSignalToSignal(s: TSignal): SignalProcessingApi0.Signal[_]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
rsToTrellisProducer(runtimeSystem: SignalProcessingApi0.RuntimeSystem): TotalTrellisProducerTracking
Converts a runtime system to Trellis producer.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )