Home > other >  The graphx are ways to get what type
The graphx are ways to get what type

Time:09-28

Attr I use pregel interface, the node set (Map [VertexId, Double], Map [VertexId, Double]), calculated at the end of the results figure call: pr=graph. Are (). The cache (), then:
Pr. The map {
Case (id, attr)=& gt; {(attr. _1. _1 - & gt; (id - & gt; Attr) _1) _2)}
}
The problem is that the compiler has been an error, think this is not a _1 attr method, but my understanding is that attr is a list of two elements, there should be a _1 method, for each master guide

CodePudding user response:

According to the properties of two elements of a tuple map again
  • Related