[Lemon-user] Arc Split

Alpár Jüttner alpar at cs.elte.hu
Wed Oct 5 11:33:26 CEST 2011



> When I do an arc split, which of the two new arcs remains id-equal to
> the original one?

Each arc has a unique id, therefore they cannot be equal.

In case of ListGraph, when you split az arc (u->v) to the pair of arcs
(u->n), (n->v). The id of (u->n) will be the same as the id of (u->v)
was before the splitting. Arc (n->v) is a newly created one.

This also means that arc (u->n) inherits all the ArcMap values from
(u->v), while the ArcMap values of (n->v) will be default constructed.


Sea also:
http://lemon.cs.elte.hu/pub/doc/1.2.2/a00203.html#a0d05a19404323aea84d5d692f9b6fa21


Regards,
Alpar





More information about the Lemon-user mailing list