Obstacles Break Connection
class ObstaclesBreakConnection<T, P : Position<P>, Vector<P>>(environment: Environment<T, P>, radius: Double) : ObservingRangeBasedNetworkModel<T, P, P>
Similar to ConnectWithinDistance, but if the environment has obstacles, the links they cross are removed.
Parameters
environment
the environment whose nodes this model links
radius
connection range
Type Parameters
T
concentration type
P
position type
Properties
Link copied to clipboard
The neighborhood of this node, as provided by neighborhoodOf.
Functions
Link copied to clipboard
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