ConditionalClosestN

class ConditionalClosestN<T, P : Position<P>>(environment: Environment<T, P>, nodeCount: Int, expectedNodes: Int, molecule: Molecule, value: T) : ClosestN<T, P> (source)

A ClosestN linking only the nodes whose concentration of molecule is value.

Type Parameters

T

concentration type

P

position type

Constructors

Link copied to clipboard
constructor(environment: Environment<T, P>, nodeCount: Int, expectedNodes: Int, molecule: Molecule, value: T)
constructor(environment: Environment<T, P>, nodeCount: Int, molecule: Molecule, value: T)

Builds a ConditionalClosestN with no expected number of nodes.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun neighborhoodOf(center: Node<T>): Observable<Neighborhood<T>>
Link copied to clipboard
open override fun toString(): String