toggle menu
alchemist
35.0.2
jvm
switch theme
search in API
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
.