AdaptiveRange

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>

Constructors

Link copied to clipboard
constructor(radius: Double, minrange: Double, maxrange: Double, num: Int, tolerance: Int)
constructor(radius: Double, minrange: Double, maxrange: Double, num: Int, tolerance: Int, adjustment: Double)
constructor(radius: Double, minrange: Double, num: Int, tolerance: Int)
constructor(radius: Double, minrange: Double, num: Int, tolerance: Int, adjustment: Double)
constructor(radius: Double, num: Int, tolerance: Int)
constructor(radius: Double, num: Int, tolerance: Int, adjustment: Double)

Properties

Link copied to clipboard
Default adjustment.
Link copied to clipboard
Default maximum range.
Link copied to clipboard
Default minimum range.

Functions

Link copied to clipboard
abstract fun computeNeighborhood(p: Node<T>, p1: Environment<T, P>): Neighborhood<T>

fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Subclasses may change the way a neighborhood is computed.
Link copied to clipboard
Link copied to clipboard
open fun toString(): String