alchemist
Toggle table of contents
36.0.11
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist-implementationbase
/
it.unibo.alchemist.model.neighborhoods
/
Neighborhoods
Neighborhoods
object
Neighborhoods
(
source
)
Contains utility functions for neighborhoods.
Members
Functions
make
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
<
T
,
P
:
Position
<
P
>
>
make
(
environment
:
Environment
<
T
,
P
>
,
center
:
Node
<
T
>
,
neighbors
:
Iterable
<
Node
<
T
>
>
=
emptyList()
)
:
SimpleNeighborhood
<
T
,
P
>
Creates a
SimpleNeighborhood
.