Class PageRankMessageCombiner

    • Method Detail

      • combine

        public Double combine​(Double messageA,
                              Double messageB)
        Description copied from interface: MessageCombiner
        Combine 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:
        combine in interface MessageCombiner<Double>
        messageA - the first message
        messageB - the second message
        the combination of the two messages