Class PageRankMessageCombiner
java.lang.Object
org.apache.tinkerpop.gremlin.process.computer.ranking.pagerank.PageRankMessageCombiner
- All Implemented Interfaces:
Serializable,MessageCombiner<Double>
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
-
Method Summary
-
Method Details
-
combine
Description copied from interface:MessageCombinerCombine two messages and return a message containing the combination. In many instances, it is possible to simply merge the data in the second message into the first message. Such an optimization can limit the amount of object creation.- Specified by:
combinein interfaceMessageCombiner<Double>- Parameters:
messageA- the first messagemessageB- the second message- Returns:
- the combination of the two messages
-
instance
-