Class

be.cetic.tsimulus.timeseries.composite

ConditionalTimeSeries

Related Doc: package composite

Permalink

case class ConditionalTimeSeries[T](condition: TimeSeries[Boolean], success: TimeSeries[T], failure: TimeSeries[T]) extends TimeSeries[T] with Product with Serializable

A time series based on an underlying time series. The values of the underlying time series are forwarded by this time series iff a binary value from an other time series is true.

If the value of the underlying time series is not defined, then the value of this time series is not defined. If the value of the binary time series is not defined, then the value of this time series is not defined.

condition

the binary time series used for determining if the values of the underlying time series must be forwarded.

success

the time series used when the condition is verified.

failure

the time series used when the condition is not verified.

Linear Supertypes
Serializable, Serializable, Product, Equals, TimeSeries[T], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConditionalTimeSeries
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. TimeSeries
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ConditionalTimeSeries(condition: TimeSeries[Boolean], success: TimeSeries[T], failure: TimeSeries[T])

    Permalink

    condition

    the binary time series used for determining if the values of the underlying time series must be forwarded.

    success

    the time series used when the condition is verified.

    failure

    the time series used when the condition is not verified.

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. def compute(time: LocalDateTime): Option[T]

    Permalink

    Calculates the value of the time series for a single date.

    Calculates the value of the time series for a single date.

    time

    the moment for which the time series value must be calculated.

    returns

    the value associated to the specified moment, if defined.

    Definition Classes
    ConditionalTimeSeriesTimeSeries
  7. def compute(times: Stream[LocalDateTime]): Stream[(LocalDateTime, Option[T])]

    Permalink

    Calculates the values of the time series of a series of moments.

    Calculates the values of the time series of a series of moments.

    times

    a series of moments for which values must be calculated. Each time must be greater than or equal to the previous one.

    returns

    the values associated to the specified moments, if defined.

    Definition Classes
    ConditionalTimeSeriesTimeSeries
  8. val condition: TimeSeries[Boolean]

    Permalink

    the binary time series used for determining if the values of the underlying time series must be forwarded.

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. val failure: TimeSeries[T]

    Permalink

    the time series used when the condition is not verified.

  11. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. val success: TimeSeries[T]

    Permalink

    the time series used when the condition is verified.

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

    Permalink
    Definition Classes
    AnyRef
  19. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from TimeSeries[T]

Inherited from AnyRef

Inherited from Any

Ungrouped