make

fun <T, P : Position<P>> make(    environment: Environment<T, P>,     center: Node<T>,     neighbors: Iterable<Node<T>> = emptyList()): SimpleNeighborhood<T, P>

Creates a SimpleNeighborhood.

Return

The newly created SimpleNeighborhood.

Parameters

environment

The environment of the neighborhood.

center

The center of the neighborhood.

neighbors

The neighbors in the neighborhood, defaults to empty.