Class MessageScope
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.computer.MessageScope
-
- Direct Known Subclasses:
MessageScope.Global
,MessageScope.Local
public abstract class MessageScope extends Object
AMessageScope
represents the range of a message. A message can have multiple receivers and message scope allows the underlyingGraphComputer
to apply the message passing algorithm in whichever manner is most efficient. It is best to useMessageScope.Local
if possible as that provides more room for optimization by providers thanMessageScope.Global
.- Author:
- Marko A. Rodriguez (http://markorodriguez.com), Matthias Broecheler (me@matthiasb.com)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class 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 Summary
Constructors Constructor Description MessageScope()
-