Documentation of 'edu.uci.ics.jung.algorithms.scoring.BarycenterScorer' Java class
BarycenterScorer
edu.uci.ics.jung.algorithms.scoring

Class BarycenterScorer<V,E>

  • All Implemented Interfaces:
    VertexScorer<V,java.lang.Double>


    public class BarycenterScorer<V,E>
    extends DistanceCentralityScorer<V,E>
    Assigns scores to each vertex according to the sum of its distances to all other vertices.
    • Method Summary

      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • BarycenterScorer

        public BarycenterScorer(Hypergraph<V,E> graph,
                                Distance<V> distance)
        Creates an instance with the specified graph and distance metric.
        Parameters:
        graph - the input graph
        distance - the distance metric to use
      • BarycenterScorer

        public BarycenterScorer(Hypergraph<V,E> graph,
                                com.google.common.base.Function<E,? extends java.lang.Number> edge_weights)
        Creates an instance with the specified graph and edge weights. Will generate a Distance metric internally based on the edge weights.
        Parameters:
        graph - the input graph
        edge_weights - the edge weights to use to calculate vertex/vertex distances
      • BarycenterScorer

        public BarycenterScorer(Hypergraph<V,E> graph)
        Creates an instance with the specified graph. Will generate a Distance metric internally assuming that the graph is unweighted.
        Parameters:
        graph - the input graph

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.