ConnectionBeam

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

Constructors

Link copied to clipboard
constructor(radius: Double, beamSize: 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.
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