LinkNodesWithinRoutingRange

Links the nodes whose route is shorter than a range; nodes outside a MapEnvironment are never linked.

Parameters

<T>

concentration type

Constructors

Link copied to clipboard
constructor(@Nonnull environment: Environment<T, GeoPosition>, r: Double)
Builds a new linking rule with the given routing range.

Functions

Link copied to clipboard
open fun getNeighborhood($this$neighborhood: Node<T>): Observable<Neighborhood<T>>

The neighborhood of this node, as provided by neighborhoodOf.

Link copied to clipboard
abstract fun neighborhoodOf(center: Node<T>): Observable<Neighborhood<T>>

The neighborhood of center, a node of the environment of this model, as an observable of immutable snapshots that emits whenever the neighborhood changes.

Link copied to clipboard
infix fun NetworkModel<*>.shouldEqual(other: NetworkModel<*>)
Link copied to clipboard