alchemist-interfaces / it.unibo.alchemist.model.interfaces / LinkingRule / computeNeighborhood

computeNeighborhood

abstract fun computeNeighborhood(center: Node<T>!, env: Environment<T, P>!): Neighborhood<T>!

Produces a new neighborhood for specified node considering its position.

Parameters

center - Node<T>!: the node to recompute

env - Environment<T, P>!: the node's environment

Return
Neighborhood<T>!: a neighborhood