Trait

it.unibo.scafi.lib.StdLib_BlockC

BlockC

Related Doc: package StdLib_BlockC

Permalink

trait BlockC extends AnyRef

Self Type
(StdLib_BlockC.this)#BlockC with (StdLib_BlockC.this)#FieldCalculusSyntax with (StdLib_BlockC.this)#StandardSensors
Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BlockC
  2. AnyRef
  3. 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 C[P, V](potential: P, acc: (V, V) ⇒ V, local: V, Null: V)(implicit arg0: Bounded[P]): V

    Permalink

    Collects values down a potential field.

    Collects values down a potential field.

    P

    type of the potential field

    V

    type of the values to be collected/accumulated

    potential

    the field providing the direction of the collection process

    acc

    the function describing how values are to be collected

    local

    the value field providing the value to be collected for each device

    Null

    zero value for accumulation and for neighbours for which the current device is *not* a parent in the field

    returns

    the accumulation value for each device according to its position in the potential field

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. def collectCount(alongPotentialField: Double, predicate: Boolean): Long

    Permalink

    returns

    the collection of the number of devices for which predicate is true

  8. def collectIntoSet[T](downTo: Double, local: T): Set[T]

    Permalink

    Collects a set by merging values

  9. def collectMaps[K, V](downTo: Double, local: Map[K, V], merge: (K, V, V) ⇒ V = (k: K, v1: V, v2: V) => v1): Map[K, V]

    Permalink

    Collects a map by merging map entries

    Collects a map by merging map entries

    downTo

    potential field

    local

    maps to be merged

    merge

    function specifying how to merge entries with the same key

    returns

    the collect field of the merged maps

  10. def collectMean(alongPotentialField: Double, value: Double): Double

    Permalink

    returns

    the collect field of the mean of the value field

  11. def collectSets[T](downTo: Double, local: Set[T]): Set[T]

    Permalink

    Collects a set by merging sets

  12. def collectValuesByDevices[T](downTo: Double, local: T): Map[(StdLib_BlockC.this)#ID, T]

    Permalink

    Collects values as a map by preserving the sources of those values

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def findParent[V](potential: V)(implicit arg0: Bounded[V]): (StdLib_BlockC.this)#ID

    Permalink

    returns

    the ID of the "parent device" along a potential field, i.e., the neighbour with the smallest value of the potential field.

  16. def findParentOpt[V](potential: V)(implicit arg0: Bounded[V]): Option[(StdLib_BlockC.this)#ID]

    Permalink

    returns

    the parent device UID of the current device along field potential, or None if no such a parent is there (so that the device is parent of itself).

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

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. 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 AnyRef

Inherited from Any

Ungrouped