ConditionalClosestN

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
constructor(n: Int, expectedNodes: Int, mol: Molecule, value: T)
constructor(n: Int, mol: Molecule, value: T)

Functions

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