searchWalk
function uses a deep-first search
strategy to returns the first open walk found, regardless
it has formed cycles or repeated nodes.
searchWalk(nodes, arcs, directed = TRUE, start.node = nodes[1], end.node = nodes[length(nodes)], method = NULL)
TRUE
) or not (FALSE
)."min"
if the function chooses the minimum weight
arcs, "max"
if chooses the maximum weight arcs, or
NULL
if chooses the arcs by their order in the
list of arcs.searchWalk
found an open walk in the graph
returns TRUE
, a vector with the nodes of the walk
and a matrix with the list of arcs of it.