Connect To Access Point
class ConnectToAccessPoint<T, P : Position<P>>(radius: Double, val accessPointId: Molecule) : ConnectWithinDistance<T, P>
Linking rule that connects nodes within a specified radius but filters connections through a designated access point when the center is not an AP itself.
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