ObstaclesBreakConnection

Similar to ConnectWithinDistance, but if the environment has obstacles, the links are removed.

Parameters

<P>

position type

<T>

concentration type

Constructors

Link copied to clipboard
constructor(radius: Double)

Functions

Link copied to clipboard
abstract fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Produces a new neighborhood for specified node considering its position.
open fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
Subclasses may change the way a neighborhood is computed.
Link copied to clipboard
Some rules may require to be evaluated against multiple nodes until the situations gets consistent.
Link copied to clipboard
open fun toString(): String