This method is called by the primary constructor.
This method is called by the primary constructor. It must be defined by the trait responsible for the implementation of the graph representation.
The outer edges that the edge set of this graph is to be populated with. Nodes being the end of any of these edges will be added to the node set.
Sorts all edges according to ord
and concatenates them using separator
.
Sorts all edges according to ord
and concatenates them using separator
.
to separate edges by.
custom ordering.
sorted and concatenated string representation of this edge set.
(Changed in version 2.8.0) Set.map now returns a Set, so it will discard duplicate values.
The maximum arity of all edges in this edge set.
(Changed in version 2.9.0) The behavior of scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
Sorts all edges according to ord
, concatenates them using separator
and prefixes and parenthesizes the result with stringPrefix
.
Sorts all edges according to ord
, concatenates them using separator
and prefixes and parenthesizes the result with stringPrefix
.
to separate edges by.
custom ordering.
sorted, concatenated and prefixed string representation of this edge set.
(Changed in version 2.9.0) transpose
throws an IllegalArgumentException
if collections are not uniformly sized.
(Since version 2.10.0) use fold instead