Class PageRank4Master

  • All Implemented Interfaces:
    org.apache.hugegraph.computer.core.master.MasterComputation

    public class PageRank4Master
    extends java.lang.Object
    implements org.apache.hugegraph.computer.core.master.MasterComputation
    • Field Detail

      • CONF_L1_NORM_DIFFERENCE_THRESHOLD_KEY

        public static final java.lang.String CONF_L1_NORM_DIFFERENCE_THRESHOLD_KEY
        See Also:
        Constant Field Values
      • CONF_L1_DIFF_THRESHOLD_DEFAULT

        public static final double CONF_L1_DIFF_THRESHOLD_DEFAULT
        See Also:
        Constant Field Values
      • AGGR_L1_NORM_DIFFERENCE_KEY

        public static final java.lang.String AGGR_L1_NORM_DIFFERENCE_KEY
        See Also:
        Constant Field Values
      • AGGR_DANGLING_VERTICES_NUM

        public static final java.lang.String AGGR_DANGLING_VERTICES_NUM
        See Also:
        Constant Field Values
      • AGGR_COMULATIVE_DANGLING_PROBABILITY

        public static final java.lang.String AGGR_COMULATIVE_DANGLING_PROBABILITY
        See Also:
        Constant Field Values
      • AGGR_COMULATIVE_PROBABILITY

        public static final java.lang.String AGGR_COMULATIVE_PROBABILITY
        See Also:
        Constant Field Values
    • Constructor Detail

      • PageRank4Master

        public PageRank4Master()
    • Method Detail

      • init

        public void init​(org.apache.hugegraph.computer.core.master.MasterContext context)
        Specified by:
        init in interface org.apache.hugegraph.computer.core.master.MasterComputation
      • close

        public void close​(org.apache.hugegraph.computer.core.master.MasterContext context)
        Specified by:
        close in interface org.apache.hugegraph.computer.core.master.MasterComputation
      • compute

        public boolean compute​(org.apache.hugegraph.computer.core.master.MasterComputationContext context)
        Specified by:
        compute in interface org.apache.hugegraph.computer.core.master.MasterComputation