ConnectWithinDistance

open class ConnectWithinDistance<T, P : Position<P>?> : AbstractLocallyConsistentLinkingRule<T, P>

LinkingRule which connects nodes whose euclidean distance is shorter than a given radius.

Parameters

<T>

The type which describes the concentration of a molecule

<P>

Constructors

Link copied to clipboard
open fun ConnectWithinDistance(radius: Double)

Functions

Link copied to clipboard
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
fun isLocallyConsistent(): Boolean
abstract fun isLocallyConsistent(): Boolean
Link copied to clipboard
open fun toString(): String

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard