.
is a function that combines these global messages. Now let’s look at how the Pregel API can be used in Spark GraphX. The following is the method signature for pregel, a higher order function (aka functor? forgive me, I’m still new to this whole functional programming thing) in Graphx. def pregel[A]