AccessPointNetworkModel

abstract class AccessPointNetworkModel<T, P : Position<P>, Input>(environment: Environment<T, P>, radius: Double, val accessPointId: Molecule) : ObservingRangeBasedNetworkModel<T, P, Input>

An ObservingRangeBasedNetworkModel whose links depend on which nodes are access points, namely the nodes containing accessPointId.

Parameters

environment

the environment whose nodes this model links

radius

the maximum connection radius

Type Parameters

T

the concentration type

P

the position type

Input

the state of a node that links depend on

Inheritors

Constructors

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

Properties

Link copied to clipboard

the molecule id used to mark access-point nodes

Link copied to clipboard

The neighborhood of this node, as provided by neighborhoodOf.

Functions

Link copied to clipboard
open override 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
override fun toString(): String