infovis.graph.algorithm
Class KCoreDecomposition
java.lang.Object
infovis.graph.algorithm.KCoreDecomposition
- All Implemented Interfaces:
- GraphChangedListener, EventListener
public class KCoreDecomposition
- extends Object
- implements GraphChangedListener
Computes the "coreness" of graph vertices.
The "k-core" of a graph is the (unique) largest subgraph all of whose vertices have degree at least k.
- Version:
- $Revision: 1.5 $
- Author:
- Jean-Daniel Fekete
CORENESS_COLUMN
public static final String CORENESS_COLUMN
- See Also:
- Constant Field Values
KCoreDecomposition
public KCoreDecomposition(Graph graph,
IntColumn coreness)
graphChanged
public void graphChanged(GraphChangedEvent e)
- Specified by:
graphChanged
in interface GraphChangedListener
update
public void update()
computeCoreness
public static IntColumn computeCoreness(Graph g,
IntColumn coreness)
computeEdgeCoreness
public static IntColumn computeEdgeCoreness(Graph g,
IntColumn coreness,
IntColumn edgeCoreness,
IntIntFunction fn)
Copyright © 2005 by Jean-Daniel Fekete and INRIA, France All rights reserved.