-
-
Constructor Summary
Constructors Constructor Description ConditionalClosestN(int n, int expectedNodes, Molecule mol, T value)ConditionalClosestN(int n, Molecule mol, T value)
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class it.unibo.alchemist.model.implementations.linkingrules.ClosestN
computeNeighborhood, isLocallyConsistent -
Methods inherited from class it.unibo.alchemist.model.interfaces.LinkingRule
computeNeighborhood, isLocallyConsistent -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
ConditionalClosestN
ConditionalClosestN(int n, int expectedNodes, Molecule mol, T value)
- Parameters:
n- number of neighborsexpectedNodes- expected number of nodes (used for optimization purposes)mol- the molecule whose concentration will be used to identify active nodesvalue- the value that identifies an active node
-
-
-
-