MailboxesProtocol
public protocol MailboxesProtocol
Represents the computation-wide communication abstraction for vertex-parallel algorithms.
-
The per-vertex representation of this communication abstraction.
Declaration
Swift
associatedtype Mailbox : MailboxProtocol -
Transfers messages that were previously sent into the inboxes of the verticies; returns true iff there are messages to be delivered.
This function is called between every super-step of the vertex-parallel algorithms.
Declaration
Swift
mutating func deliver() -> BoolReturn Value
true if there are messages waiting in inboxes; false otherwise.
-
Executes
fnpassing in theMailboxforvertex.Declaration
View on GitHub
MailboxesProtocol Protocol Reference