case class OneHopNeighbourhoodWithinRange(range: Double) extends (FlockLib.this)#NeighbouringQuery with Product with Serializable
One hop strategy constrained by the distance
- Alphabetic
- By Inheritance
- OneHopNeighbourhoodWithinRange
- Serializable
- Product
- Equals
- NeighbouringQuery
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new OneHopNeighbourhoodWithinRange(range: Double)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def query[L, A](local: L, valueAtCenter: A, accumulation: (A) => A): Map[E.ID, (L, A)]
Query the neighbours about a local value (e.g., the velocity) and a neighborhood value (e.g., the distance) and an accumulation function (e.g., the
Query the neighbours about a local value (e.g., the velocity) and a neighborhood value (e.g., the distance) and an accumulation function (e.g., the
- L
the type of the local value
- A
the type of the neighborhood value
- local
the local value to gather
- valueAtCenter
the value at the center of the neighborhood
- accumulation
the accumulation function
- returns
a map where the key is the id of the neighbour and the value is a tuple with the local value and the
- Definition Classes
- OneHopNeighbourhoodWithinRange → NeighbouringQuery
- def queryLocal[L](local: L): Map[E.ID, L]
Query the neighbours about a local value (e.g., the velocity).
Query the neighbours about a local value (e.g., the velocity).
- L
the type of the local value
- local
the local value to gather
- returns
a map where the key is the id of the neighbour and the value is the local value
- Definition Classes
- NeighbouringQuery
- def queryNeighborhood[A](center: A, accumulation: (A) => A): Map[E.ID, A]
Query the neighbours about a neighborhood value (e.g., the distance) and an accumulation function (e.g., the sum).
Query the neighbours about a neighborhood value (e.g., the distance) and an accumulation function (e.g., the sum).
- Definition Classes
- NeighbouringQuery
- val range: Double
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)