Network::edge
-- returns a list
with all edgesNetwork::edge
(G)
returns the list of all
edges of the network G
.
Network::edge(G)
G |
- | a network |
the list of all edges, a list of lists
Network::edge
(G)
returns a list with all
edges of the network G
. Each edge is represented by a list
containing the two connected vertices.Network::edge
only returns the edges,
without their capacities.
>> N1 := Network::cycle([v1,v2,v3,v4]): Network::edge(N1)
[[v1, v2], [v2, v3], [v3, v4], [v4, v1]]
>> N2 := Network::complete(3): Network::edge(N2)
[[1, 2], [1, 3], [2, 1], [2, 3], [3, 1], [3, 2]]
Network::Edge