Adaptive Range
open class AdaptiveRange<T, P : Position<P>?> : ConnectWithinDistance<T, P>
Content copied to clipboard
This linking rule dynamically searches for the best radius for each device, in such a way that it connects to a certain number of devices.
Parameters
<T>
Concentration type
<P>
Position type
Constructors
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun AdaptiveRange(radius: Double, minrange: Double, num: Int, tolerance: Int)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun AdaptiveRange(radius: Double, num: Int, tolerance: Int, adjustment: Double)
Content copied to clipboard
Functions
Link copied to clipboard
fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Content copied to clipboard
Subclasses may change the way a neighborhood is computed.
abstract fun computeNeighborhood(p: Node<T>, p1: Environment<T, P>): Neighborhood<T>
Content copied to clipboard
Link copied to clipboard