Triple apply, edge sequence

User 357 | 6/24/2014, 12:41:45 AM

Hi Jay and Ping,

I have a question about triple apply. When we do the label propagation using graph.triple_apply(function, savedResultsColumn), what is the sequence of edges does it apply the function by? Does it apply the function by the sequence of edges appearing in the edge table, or in the sequence of connected edges in the relationship graph?

Thanks! Shirley

Comments

User 14 | 6/24/2014, 11:20:10 PM

The edge sequence is part of the implementation, which you should probably not rely on. In the current implementation, the ordering is "roughly" the edges appearing in the edge table. However, due to locking and parallelism, the actual ordering can be vastly different.


User 357 | 6/25/2014, 9:15:49 PM

Thanks Jay!