Trait

it.unibo.scafi.lib.StdLib_Gradients

Gradients

Related Doc: package StdLib_Gradients

Permalink

trait Gradients extends (StdLib_Gradients.this)#GenericUtils with (StdLib_Gradients.this)#StateManagement

Self Type
(StdLib_Gradients.this)#FieldCalculusSyntax with (StdLib_Gradients.this)#StandardSensors with (StdLib_Gradients.this)#BlockG
Linear Supertypes
(StdLib_Gradients.this)#StateManagement, (StdLib_Gradients.this)#GenericUtils, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Gradients
  2. StateManagement
  3. GenericUtils
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Gradient(algorithm: (Boolean, () ⇒ Double) ⇒ Double, source: Boolean = false, metric: (StdLib_Gradients.this)#Metric = nbrRange) extends Product with Serializable

    Permalink

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 BisGradient(commRadius: Double = 0.2, lagMetric: ⇒ Double = nbrLag().toMillis): (Gradients.this)#Gradient

    Permalink
  5. val ClassicGradient: (Gradients.this)#Gradient

    Permalink
  6. val ClassicHopGradient: (Gradients.this)#Gradient

    Permalink
  7. def CrfGradient(raisingSpeed: Double = 5, lagMetric: ⇒ Double = nbrLag().toMillis): (Gradients.this)#Gradient

    Permalink
  8. def FlexGradient(epsilon: Double = 0.5, delta: Double = 1.0, communicationRadius: Double = 1.0): (Gradients.this)#Gradient

    Permalink
  9. def SvdGradient(lagMetric: ⇒ Double = nbrLag().toMillis): (Gradients.this)#Gradient

    Permalink
  10. def UltGradient(radius: Double = 0.2, factor: Double = 0.1): (Gradients.this)#Gradient

    Permalink
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def bisGradient(commRadius: Double = 0.2, lagMetric: ⇒ Double = nbrLag().toMillis)(source: Boolean, metric: (StdLib_Gradients.this)#Metric = nbrRange): Double

    Permalink
  13. def captureChange[T](x: T, initially: Boolean = true): Boolean

    Permalink

    returns

    true only when a discontinuity (i.e., a change) is observed on x (you may choose how to handle the first observation)

    Definition Classes
    StateManagement
  14. def classicGradient(source: Boolean, metric: () ⇒ Double = nbrRange): Double

    Permalink
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  16. def constant[T](value: ⇒ T): T

    Permalink

    Alias for remember()

    Alias for remember()

    Definition Classes
    StateManagement
  17. def countChanges[T](x: T, initially: Boolean = true): (Long, Boolean)

    Permalink
    Definition Classes
    StateManagement
  18. def crfGradient(raisingSpeed: Double = 5, lagMetric: ⇒ Double = nbrLag().toMillis)(source: Boolean, metric: (StdLib_Gradients.this)#Metric = nbrRange): Double

    Permalink
  19. def delay[T](value: T): T

    Permalink

    It is a simple building block which returns the same values it receives in input delayed by one computation round.

    It is a simple building block which returns the same values it receives in input delayed by one computation round.

    Definition Classes
    StateManagement
  20. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. def flexGradient(epsilon: Double = 0.5, delta: Double = 1.0, communicationRadius: Double = 1.0)(source: Boolean, metric: (StdLib_Gradients.this)#Metric = nbrRange): Double

    Permalink

    Idea: a device should change its estimate only for significant errors.

    Idea: a device should change its estimate only for significant errors. Useful when devices far from the source need only coarse estimates. Flex gradient provides tunable trade-off between precision and communication cost.

    epsilon

    Parameter expressing tolerance wrt changes

    delta

    Distortion into the distance measure, such that neighbor distance is never considered to be less than delta * communicationRadius.

    source

    Source fields of devices from which the gradient is calculated

  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def goesDown(value: Boolean): Boolean

    Permalink

    returns

    true when the given parameter goes from true to false (starting from false); false otherwise

    Definition Classes
    StateManagement
  25. def goesUp(value: Boolean): Boolean

    Permalink

    returns

    true when the given parameter goes from false to true (starting from false); false otherwise

    Definition Classes
    StateManagement
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def hopGradient(source: Boolean): Double

    Permalink
  28. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  29. def keep(expr: ⇒ Boolean): Boolean

    Permalink

    Remembers the occurrence of some condition or event

    Remembers the occurrence of some condition or event

    Definition Classes
    StateManagement
  30. def keep[T](expr: ⇒ Option[T]): Option[T]

    Permalink

    Remembers the provided optional value, unless empty

    Remembers the provided optional value, unless empty

    Definition Classes
    StateManagement
  31. def meanCounter(value: Double, frequency: Long): Double

    Permalink
    Definition Classes
    GenericUtils
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. def once[T](expr: ⇒ T): Option[T]

    Permalink

    Returns a non-empty optional with the provided value just once, then None

    Returns a non-empty optional with the provided value just once, then None

    Definition Classes
    StateManagement
  36. def remember[T](value: ⇒ T): T

    Permalink

    Remembers the provided value

    Remembers the provided value

    Definition Classes
    StateManagement
  37. def roundCounter(): Long

    Permalink

    Counts the number of rounds, refreshing each time the computation is re-entered.

    Counts the number of rounds, refreshing each time the computation is re-entered. TODO: consider boundedness as a limitation for long-lived/eternal systems

    returns

    the number of the round

    Definition Classes
    StateManagement
  38. def svdGradient(lagMetric: ⇒ Double = nbrLag().toMillis)(source: Boolean, metric: (StdLib_Gradients.this)#Metric = nbrRange): Double

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  41. def ultGradient(radius: Double = 0.2, factor: Double = 0.1)(source: Boolean, metric: (StdLib_Gradients.this)#Metric = nbrRange): Double

    Permalink
  42. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. 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_Gradients.this)#StateManagement

Inherited from (StdLib_Gradients.this)#GenericUtils

Inherited from AnyRef

Inherited from Any

Ungrouped