ConditionalClosestN

class ConditionalClosestN<T, P : Position<P>?> : ClosestN<T, P>

A ClosestN rule that also checks that a Molecule has a specific concentration before allowing the connection.

Parameters

<T>

Concentration type

<P>

Constructors

Link copied to clipboard
open fun ConditionalClosestN(n: Int, expectedNodes: Int, mol: Molecule, value: T)
Link copied to clipboard
open fun ConditionalClosestN(n: Int, mol: Molecule, value: T)

Functions

Link copied to clipboard
fun computeNeighborhood(center: Node<T>, environment: Environment<T, P>): Neighborhood<T>
abstract fun computeNeighborhood(p: Node<T>, p1: Environment<T, P>): Neighborhood<T>
Link copied to clipboard
fun isLocallyConsistent(): Boolean
abstract fun isLocallyConsistent(): Boolean