make
fun <T, P : Position<P>> make(environment: Environment<T, P>, center: Node<T>, neighbors: Iterable<Node<T>> = emptyList()): SimpleNeighborhood<T, P>(source)
Creates a SimpleNeighborhood.
Return
the newly created SimpleNeighborhood
Parameters
environment
the environment of the neighborhood
center
the center node of the neighborhood
neighbors
the neighbors in the neighborhood (defaults to empty)
Type Parameters
T
the concentration type
P
the position type