com.twitter.cassovary.algorithms
Centrality algorithm abstraction that requires a directed graph (
) be passed upon
instantiation.graph
Starting point for all centrality algorithms.
Calculate the closeness centrality of graph
Calculate the degree centrality for a specific graph and direction.