Talk:Cycle detection: Difference between revisions

(output comment)
 
Line 1:
== output ==
Wouldn't it be sufficient just to print the cycle? [[User:Fwend|Fwend]] ([[User talk:Fwend|talk]]) 14:23, 26 February 2016 (UTC)
 
Not a bad idea. My choice of output was influenced by the needs of an algorithm that uses Cycle detection as a subroutine.
Printing the cycle would make it easier to test and visualize the results.
--[[User:Paul.chernoch|Paul.chernoch]] ([[User talk:Paul.chernoch|talk]]) 18:58, 26 February 2016 (UTC)