checkArbor
searchs for an
arborescence from the list of arcs. An arborescence is a
directed graph with a source node and such that there is a
unique path from the source to any other node.
checkArbor(nodes, arcs, source.node = 1)
checkArbor
found an arborescence it returns
TRUE
, otherwise it returns FALSE
. If there is
an arborescence the function also returns the list of arcs
of the arborescence.