ConnectWithinDistance

it.unibo.alchemist.model.LinkingRule which connects nodes whose Euclidean distance is shorter than a given radius.

Parameters

<T>

Concentration type

<P>

Position type

Inheritors

Constructors

Link copied to clipboard
constructor(radius: Double)

Functions

Link copied to clipboard
open 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