ConditionalClosestN

constructor(n: Int, expectedNodes: Int, mol: Molecule, value: T)(source)

Parameters

n

number of neighbors

expectedNodes

expected number of nodes (used for optimization purposes)

mol

the molecule whose concentration will be used to identify active nodes

value

the value that identifies an active node


constructor(n: Int, mol: Molecule, value: T)(source)

Parameters

n

number of neighbors

mol

the molecule whose concentration will be used to identify active nodes

value

the value that identifies an active node