AdaptiveRange

open class AdaptiveRange<T, P : Position<P>?> : ConnectWithinDistance<T, P>

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
open fun AdaptiveRange(radius: Double, minrange: Double, maxrange: Double, num: Int, tolerance: Int)
Link copied to clipboard
open fun AdaptiveRange(radius: Double, minrange: Double, maxrange: Double, num: Int, tolerance: Int, adjustment: Double)
Link copied to clipboard
open fun AdaptiveRange(radius: Double, minrange: Double, num: Int, tolerance: Int)
Link copied to clipboard
open fun AdaptiveRange(radius: Double, minrange: Double, num: Int, tolerance: Int, adjustment: Double)
Link copied to clipboard
open fun AdaptiveRange(radius: Double, num: Int, tolerance: Int)
Link copied to clipboard
open fun AdaptiveRange(radius: Double, num: Int, tolerance: Int, adjustment: Double)

Functions

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

Properties

Link copied to clipboard
val DEFAULT_ADJUSTMENT: Double
Default adjustment.
Link copied to clipboard
val DEFAULT_MAXRANGE: Double
Default maximum range.
Link copied to clipboard
val DEFAULT_MINRANGE: Double
Default minimum range.

Inheritors

Link copied to clipboard