RangeBasedNetworkModel

abstract class RangeBasedNetworkModel<T, P : Position<P>>(environment: Environment<T, P>, range: Double) : NetworkModel<T> (source)

A NetworkModel linking each node of environment to the nodes within range of it for which isLinked holds. Neighborhoods follow the nodes within range: isLinked must depend on nothing that changes while they stay in range, models whose links depend on further state extend ObservingRangeBasedNetworkModel instead.

Type Parameters

T

concentration type

P

position type

Inheritors

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