Class EigenvectorComputation

  • All Implemented Interfaces:
    org.neo4j.gds.beta.pregel.BasePregelComputation<PageRankConfig>, org.neo4j.gds.beta.pregel.PregelComputation<PageRankConfig>

    public final class EigenvectorComputation
    extends java.lang.Object
    implements org.neo4j.gds.beta.pregel.PregelComputation<PageRankConfig>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double applyRelationshipWeight​(double nodeValue, double relationshipWeight)  
      void compute​(org.neo4j.gds.beta.pregel.context.ComputeContext<PageRankConfig> context, org.neo4j.gds.beta.pregel.Messages messages)  
      void init​(org.neo4j.gds.beta.pregel.context.InitContext<PageRankConfig> context)  
      boolean masterCompute​(org.neo4j.gds.beta.pregel.context.MasterComputeContext<PageRankConfig> context)  
      java.util.Optional<org.neo4j.gds.beta.pregel.Reducer> reducer()  
      org.neo4j.gds.beta.pregel.PregelSchema schema​(PageRankConfig config)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.neo4j.gds.beta.pregel.BasePregelComputation

        close
    • Method Detail

      • schema

        public org.neo4j.gds.beta.pregel.PregelSchema schema​(PageRankConfig config)
        Specified by:
        schema in interface org.neo4j.gds.beta.pregel.BasePregelComputation<PageRankConfig>
      • init

        public void init​(org.neo4j.gds.beta.pregel.context.InitContext<PageRankConfig> context)
        Specified by:
        init in interface org.neo4j.gds.beta.pregel.PregelComputation<PageRankConfig>
      • compute

        public void compute​(org.neo4j.gds.beta.pregel.context.ComputeContext<PageRankConfig> context,
                            org.neo4j.gds.beta.pregel.Messages messages)
        Specified by:
        compute in interface org.neo4j.gds.beta.pregel.PregelComputation<PageRankConfig>
      • masterCompute

        public boolean masterCompute​(org.neo4j.gds.beta.pregel.context.MasterComputeContext<PageRankConfig> context)
        Specified by:
        masterCompute in interface org.neo4j.gds.beta.pregel.BasePregelComputation<PageRankConfig>
      • reducer

        public java.util.Optional<org.neo4j.gds.beta.pregel.Reducer> reducer()
        Specified by:
        reducer in interface org.neo4j.gds.beta.pregel.BasePregelComputation<PageRankConfig>
      • applyRelationshipWeight

        public double applyRelationshipWeight​(double nodeValue,
                                              double relationshipWeight)
        Specified by:
        applyRelationshipWeight in interface org.neo4j.gds.beta.pregel.BasePregelComputation<PageRankConfig>