Neighborhood Present
A condition is valid if the node has a neighborhood, formally if the node has at least one node connected by a linking rule.
Parameters
<T>
The concentration type.
Constructors
Link copied to clipboard
open fun NeighborhoodPresent(environment: Environment<T, out Any>, node: Node<T>)
Content copied to clipboard
Create the condition.
Functions
Link copied to clipboard
open fun cloneCondition(node: Node<T>, reaction: Reaction<T>): Condition<T>
Content copied to clipboard
open fun cloneCondition(node: Node<T>, r: Reaction<T>): NeighborhoodPresent<T>
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Override if desired behavior differs.
Link copied to clipboard
Searches in the given neighborhood which nodes satisfy the condition, and returns a list of valid neighbors.
Link copied to clipboard