alchemist
Toggle table of contents
jvm
Platform filter
jvm
Switch theme
Search in API
alchemist
alchemist
/
it.unibo.alchemist.model.neighborhoods
/
Neighborhoods
Neighborhoods
object
Neighborhoods
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
.