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
/
filter
filter
fun
<
T
,
W
>
Graph
<
T
,
W
>
.
filter
(
p
:
(
Edge
<
T
,
W
>
)
->
Boolean
)
:
Graph
<
T
,
W
>
Returns a new
Graph
, keeping only the edges of this graph that satisfy
p
.