ConnectWithinDistance

it.unibo.alchemist.model.NetworkModel which connects the nodes of environment whose distance is shorter than range.

Parameters

environment

the environment whose nodes this model links

range

the connection radius

Type Parameters

T

concentration type

P

position type

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>, range: Double)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun neighborhoodOf(center: Node<T>): Observable<Neighborhood<T>>
Link copied to clipboard
override fun toString(): String