documentation
Toggle table of contents
1.5.1-dev02-c0569c38e
common
Target filter
common
Switch theme
Search in API
Skip to content
documentation
utils
/
it.unibo.tuprolog.utils.graphs
/
Edge
/
Companion
Companion
object
Companion
Members
Functions
of
Link copied to clipboard
@
JvmStatic
@
JvmOverloads
fun
<
T
,
W
>
of
(
source
:
Node
<
T
>
,
destination
:
Node
<
T
>
,
weight
:
W
?
=
null
)
:
Edge
<
T
,
W
>
Creates a new
Edge
from
source
to
destination
, with an optional
weight
(
null
by default).