public class PageRankMessageCombiner extends Object implements MessageCombiner<Double>
Modifier and Type | Method and Description |
---|---|
Double |
combine(Double messageA,
Double messageB)
Combine two messages and return a message containing the combination.
|
static Optional<PageRankMessageCombiner> |
instance() |
public Double combine(Double messageA, Double messageB)
MessageCombiner
combine
in interface MessageCombiner<Double>
messageA
- the first messagemessageB
- the second messagepublic static Optional<PageRankMessageCombiner> instance()
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.