EV
- the edge value typepublic static class BipartitenessCheck.UpdateFunction<EV> extends Object implements EdgeFoldFunction<Long,EV,Candidates>
Constructor and Description |
---|
UpdateFunction() |
Modifier and Type | Method and Description |
---|---|
Candidates |
foldEdges(Candidates candidates,
Long v1,
Long v2,
EV edgeVal)
Implements foldEdges method of EdgesFold interface for combining
two edges values into same type using merge method of the Candidates class.
|
public Candidates foldEdges(Candidates candidates, Long v1, Long v2, EV edgeVal)
foldEdges
in interface EdgeFoldFunction<Long,EV,Candidates>
candidates
- the initial value and accumulatorv1
- the vertex IDv2
- the neighbor's IDedgeVal
- the edge valueCopyright © 2020. All rights reserved.