public class Centrality extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Centrality.EtchingStep<T>
An entry of the number of remaining branch vertices versus
the set of branches (each as a
List<Vertex<T>> ) removed. |
Constructor and Description |
---|
Centrality() |
Modifier and Type | Method and Description |
---|---|
static <T> ArrayList<Centrality.EtchingStep<T>> |
branchWise(Collection<Vertex<T>> vs_,
int etching_multiplier) |
static <T> void |
compute(Collection<Vertex<T>> vs)
Computes betweenness centrality of each vertex in the collection of vertices @param vs
where all vertices are part of the same graph.
|
static <T> ArrayList<Vertex<T>> |
safeCompute(Collection<Vertex<T>> vs)
Like @see compute, but operates on a copy of all Vertex instances,
and return a Collection with the same order as @param vs.
|
public static final <T> ArrayList<Vertex<T>> safeCompute(Collection<Vertex<T>> vs)
public static final <T> void compute(Collection<Vertex<T>> vs)
public static final <T> ArrayList<Centrality.EtchingStep<T>> branchWise(Collection<Vertex<T>> vs_, int etching_multiplier)
Copyright © 2015–2021 Fiji. All rights reserved.