An exception for when a result could not reached in reasonable time.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Minor optimisation to initial cycles allows it to skip a number of breath-first-searches if it is known the graph is bioconnected.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Path copying done down-stream.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Incorrect class name in coverage annotations grrr.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Truncate input from MCB (last vertex is the same which was not expected by new Path()).

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Inlined cyclic molecules for testing the new cycles utility.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Simplify efficient creation and conversion (to IRing) of the various cycle sets.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Allow the cyclic vertex searches to test if an edge is cyclic - simplifies some other code, fixes a bug (new RingSearch tests) and a allows us to provide a utility in RingSearch (next commit).

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
Slow but convenient check for cyclic bonds.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>