Trait

ru.primetalk.synapse.core.runtime.SignalProcessingApi0

SignalProcessing0

Related Doc: package SignalProcessingApi0

Permalink

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.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SignalProcessing0
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class RuntimeSystemForTrellisProcessingTracking extends AnyRef

    Permalink

    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.

  2. abstract type TSignal

    Permalink

    The type that is used to represent a single value related to signal

  3. type TSignals = List[TSignal]

    Permalink
  4. trait TotalTrellisBuilder extends AnyRef

    Permalink

    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.

  5. type TotalTrellisProducerTracking = (SignalProcessingApi0.Context, SignalProcessingApi0.Signal[_]) ⇒ TrellisElementTracking

    Permalink
  6. trait TrellisBuilder extends AnyRef

    Permalink

    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.

  7. type TrellisElement = (SignalProcessingApi0.Context, TSignals)

    Permalink
  8. type TrellisElementTracking = (SignalProcessingApi0.Context, TSignals)

    Permalink
  9. case class TrellisProducerLoopyTracking(trellisProducer: TrellisProducerSpeedyTracking, stopContacts: Set[SignalProcessingApi0.Contact[_]]) extends TotalTrellisProducerTracking with Product with Serializable

    Permalink

    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.

  10. case class TrellisProducerSpeedyTracking(runtimeSystemForTrellisProcessing: RuntimeSystemForTrellisProcessingTracking) extends Product with Serializable

    Permalink

    A component that does single step along the trellis.

  11. type TrellisProducerTracking = (TotalTrellisBuilder) ⇒ (TSignals) ⇒ TSignals

    Permalink

Abstract Value Members

  1. abstract def newTotalTrellisBuilder(runtimeSystem: SignalProcessingApi0.RuntimeSystem, context: SignalProcessingApi0.Context): TotalTrellisBuilder

    Permalink
  2. abstract def signalToTSignal(s: SignalProcessingApi0.Signal[_]): TSignal

    Permalink
  3. implicit abstract def tSignalToSignal(s: TSignal): SignalProcessingApi0.Signal[_]

    Permalink

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def rsToTrellisProducer(runtimeSystem: SignalProcessingApi0.RuntimeSystem): TotalTrellisProducerTracking

    Permalink

    Converts a runtime system to Trellis producer.

  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped