ObstaclesBreakConnection

class ObstaclesBreakConnection<T, P : Position<P>?, Vector<P>?> : ConnectWithinDistance<T, P>

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
open fun ObstaclesBreakConnection(radius: Double)

Functions

Link copied to clipboard
open fun computeNeighborhood(center: Node<T>, env: Environment<T, P>): Neighborhood<T>
Subclasses may change the way a neighborhood is computed.
abstract fun computeNeighborhood(p: Node<T>, p1: Environment<T, P>): Neighborhood<T>
Link copied to clipboard
fun isLocallyConsistent(): Boolean
abstract fun isLocallyConsistent(): Boolean
Link copied to clipboard
open fun toString(): String