ConnectionBeam
class ConnectionBeam<T>(environment: Environment<T, Euclidean2DPosition>, radius: Double, beamWidth: Double) : ObservingRangeBasedNetworkModel<T, Euclidean2DPosition, Euclidean2DPosition> (source)
Connects two nodes if, throwing a beam from one to the other, there exists at least one path entirely inside the beam that connects the two nodes. This model is ideal for environments with obstacles, where the user wants some tolerance in connection breaking.
Parameters
environment
the environment whose nodes this model links
radius
beam maximum length
beamWidth
beam span (tolerance)
Type Parameters
T
concentration type