Connection Beam
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 rule is ideal for environments with obstacles, where the user wants some tolerance in connection breaking.
Parameters
<T>
concentration type
Functions
Link copied to clipboard
Produces a new neighborhood for specified node considering its position.
open fun computeNeighborhood(center: Node<T>, environment: Environment<T, Euclidean2DPosition>): 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.