ConnectViaAccessPoint
class ConnectViaAccessPoint<T, P : Position<P>>(environment: Environment<T, P>, radius: Double, accessPointId: Molecule) : AccessPointNetworkModel<T, P, ConnectViaAccessPoint.Role<T>> (source)
Network model that connects each node to its closest access point within range, and to the other nodes within range served by the same access point; access points are connected to each other when within range. The closest access point is the nearest one, ties being broken by the lowest node id.
Parameters
environment
the environment whose nodes this model links
radius
the maximum connection radius
accessPointId
the molecule id used to mark access-point nodes
Type Parameters
T
the concentration type
P
the position type