Hi Szabolcs,

> All this sounds good, but I am a bit uncomfortable with one thing:
> using IGRAPH_INTERRUPTED to signal the stop.
Indeed, you are right - using IGRAPH_INTERRUPTED would mean that it
would be impossible to decide from the main loop (where we iterate
over all the vertices) whether the user pressed Ctrl-C in Python or R
to interrupt the current computation (if we decide to add support for
this), or whether the callback function requested the calculation to
stop. Feel free to define another error code for this purpose.

Best,
T.

_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to