public abstract class MessageScope extends Object
MessageScope
represents the range of a message. A message can have multiple receivers and message scope
allows the underlying GraphComputer
to apply the message passing algorithm in whichever manner is most
efficient. It is best to use MessageScope.Local
if possible as that provides more room for optimization by
providers than MessageScope.Global
.Modifier and Type | Class and Description |
---|---|
static class |
MessageScope.Global
A Global message is directed at an arbitrary vertex in the graph.
|
static class |
MessageScope.Local<M>
A Local message is directed to an adjacent (or "memory adjacent") vertex.
|
Constructor and Description |
---|
MessageScope() |
Copyright © 2013–2021 Apache Software Foundation. All rights reserved.