Connect Via Access Point
class ConnectViaAccessPoint<T, P : Position<P>>(radius: Double, val accessPointId: Molecule) : ConnectWithinDistance<T, P>
Linking rule that connects nodes to the closest access point and other nodes connected to the same AP.
Parameters
radius
the maximum connection radius
Type Parameters
T
the concentration type
P
the position type
Properties
Functions
Link copied to clipboard
open override fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Subclasses may change the way a neighborhood is computed.
Link copied to clipboard