Trait

it.unibo.scafi.lib.StdLib_TimeUtils

TimeUtils

Related Doc: package StdLib_TimeUtils

Permalink

trait TimeUtils extends (StdLib_TimeUtils.this)#BlockT

Self Type
(StdLib_TimeUtils.this)#TimeUtils with (StdLib_TimeUtils.this)#FieldCalculusSyntax with (StdLib_TimeUtils.this)#StandardSensors
Linear Supertypes
(StdLib_TimeUtils.this)#BlockT, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeUtils
  2. BlockT
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def T[V](initial: V, dt: V)(implicit ev: Numeric[V]): V

    Permalink
    Definition Classes
    BlockT
  5. def T[V](initial: V)(implicit ev: Numeric[V]): V

    Permalink
    Definition Classes
    BlockT
  6. def T[V](initial: V, decay: (V) ⇒ V)(implicit ev: Numeric[V]): V

    Permalink
    Definition Classes
    BlockT
  7. def T[V](initial: V, floor: V, decay: (V) ⇒ V)(implicit ev: Numeric[V]): V

    Permalink
    Definition Classes
    BlockT
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def clock[T](length: T, decay: T)(implicit ev: Numeric[T]): Long

    Permalink
    Definition Classes
    BlockT
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. def cyclicFunction[T](length: FiniteDuration, f: () ⇒ T, NULL: T): T

    Permalink

    Periodically invoke a function.

    Periodically invoke a function.

    length

    FiniteDuratrion, timeout

    f

    () -> T, function to be invoked

    NULL

    T, default value

    returns

    T, apply f if the timeout is expired, NULL otherwise

  12. def cyclicFunctionWithDecay[T, V](length: T, decay: T, f: () ⇒ V, NULL: V)(implicit ev: Numeric[T]): V

    Permalink

    Periodically invoke a function.

    Periodically invoke a function.

    length

    T, timeout

    decay

    T, decay rate

    f

    () -> V, function to be invoked

    NULL

    V, default value

    returns

    V, apply f if the timeout is expired, NULL otherwise

  13. def cyclicTimer[T](length: T)(implicit ev: Numeric[T]): Boolean

    Permalink

    Cyclic timer with a default unitary decay

    Cyclic timer with a default unitary decay

    length

    timeout

    returns

    true if the timeout is expired, false otherwise

    Definition Classes
    BlockT
  14. def cyclicTimerWithDecay[T](length: T, decay: T)(implicit ev: Numeric[T]): Boolean

    Permalink

    Cyclic timer.

    Cyclic timer.

    length

    timeout

    decay

    decay rate

    returns

    true if the timeout is expired, false otherwise

    Definition Classes
    BlockT
  15. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def evaporation[T, V](length: T, info: V)(implicit ev: Numeric[T]): (T, V)

    Permalink

    Evaporation pattern.

    Evaporation pattern. Starting from [lenght, info] descends to [0, info] with a predefined unitary decay (The floor values depends on length's type)

    length

    T, duration

    info

    V, information

    returns

    [V, T]

  18. def evaporation[T, V](length: T, decay: (T) ⇒ T, info: V)(implicit ev: Numeric[T]): (T, V)

    Permalink

    Evaporation pattern.

    Evaporation pattern. Starting from [lenght, info] descends to [0, info] with a custom decay (The floor values depends on length's type)

    length

    T, duration

    decay

    T => T, decay rate

    info

    V, information

    returns

    [V, T]

  19. def exponentialBackoffFilter[T](signal: T, a: T)(implicit ev: Numeric[T]): T

    Permalink

    Exponential back-off filter.

    Exponential back-off filter.

    signal

    T, signal to be filtered

    a

    T, alpha value

    returns

    T, filtered signal

    Definition Classes
    BlockT
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def impulsesEvery(d: FiniteDuration): Boolean

    Permalink
  23. def impulsesEvery[T](d: T)(implicit arg0: Numeric[T]): Boolean

    Permalink
    Definition Classes
    BlockT
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def limitedMemory[V, T](value: V, expValue: V, timeout: T)(implicit ev: Numeric[T]): (V, T)

    Permalink
    Definition Classes
    BlockT
  26. final def ne(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def recentlyTrue(dur: Duration, cond: ⇒ Boolean): Boolean

    Permalink
  30. def sharedTimer(period: FiniteDuration): FiniteDuration

    Permalink
  31. def sharedTimerWithDecay[T](period: T, dt: T)(implicit ev: Numeric[T]): T

    Permalink

    Timer synchronized within a neighborhood

    Timer synchronized within a neighborhood

    Definition Classes
    BlockT
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def timer[V](length: V)(implicit arg0: Numeric[V]): V

    Permalink
    Definition Classes
    BlockT
  34. def timerLocalTime(dur: Duration): Long

    Permalink
  35. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  36. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from (StdLib_TimeUtils.this)#BlockT

Inherited from AnyRef

Inherited from Any

Ungrouped