public class BarycenterScorer<V,E> extends DistanceCentralityScorer<V,E>
averaging, distance, graph, ignore_missing, ignore_self_distances, output| Constructor and Description |
|---|
BarycenterScorer(Hypergraph<V,E> graph)
Creates an instance with the specified graph.
|
BarycenterScorer(Hypergraph<V,E> graph,
Distance<V> distance)
Creates an instance with the specified graph and distance metric.
|
BarycenterScorer(Hypergraph<V,E> graph,
com.google.common.base.Function<E,? extends Number> edge_weights)
Creates an instance with the specified graph and edge weights.
|
public BarycenterScorer(Hypergraph<V,E> graph, Distance<V> distance)
graph - the input graphdistance - the distance metric to usepublic BarycenterScorer(Hypergraph<V,E> graph, com.google.common.base.Function<E,? extends Number> edge_weights)
Distance metric internally based on the edge weights.graph - the input graphedge_weights - the edge weights to use to calculate vertex/vertex distancespublic BarycenterScorer(Hypergraph<V,E> graph)
Distance metric internally assuming that the
graph is unweighted.graph - the input graphCopyright © 2015. All rights reserved.