uzh / signal-collect

A framework for scalable graph computing.
www.signalcollect.com
Apache License 2.0
148 stars 32 forks source link

PathQuery example supposedly immediately converges in interactive mode and console does not allow for the computation to actually finish #121

Open pstutz opened 11 years ago

pstutz commented 11 years ago

Just checked again: The computation seems to converge fine in sync/async mode.

cshapeshifter commented 11 years ago

I'm puzzled and I don't know how the Console has any impact on this. The interactive execution mode simply calls converged = workerApi.collectStep in https://github.com/uzh/signal-collect/blob/master/src/main/scala/com/signalcollect/DefaultGraph.scala#L516 and for the PathQueryExample this returns true during the very first collect step. So of course the interactive execution mode claims that the computation is converged. If this is false then I assume collectStep shouldn't return true.

pstutz commented 11 years ago

I wonder why the example seems to work when executed in synchronous mode.