46 #ifndef __vtkKCoreDecomposition_h
47 #define __vtkKCoreDecomposition_h
49 #include "vtkInfovisCoreModule.h"
50 #include "vtkGraphAlgorithm.h"
60 void PrintSelf(ostream& os, vtkIndent indent);
65 vtkSetStringMacro(OutputArrayName);
72 vtkSetMacro(UseInDegreeNeighbors,
bool);
73 vtkGetMacro(UseInDegreeNeighbors,
bool);
74 vtkBooleanMacro(UseInDegreeNeighbors,
bool);
81 vtkSetMacro(UseOutDegreeNeighbors,
bool);
82 vtkGetMacro(UseOutDegreeNeighbors,
bool);
83 vtkBooleanMacro(UseOutDegreeNeighbors,
bool);
90 vtkSetMacro(CheckInputGraph,
bool);
91 vtkGetMacro(CheckInputGraph,
bool);
92 vtkBooleanMacro(CheckInputGraph,
bool);
99 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
103 char* OutputArrayName;
105 bool UseInDegreeNeighbors;
106 bool UseOutDegreeNeighbors;
107 bool CheckInputGraph;
110 void Cores(vtkGraph* g,
111 vtkIntArray* KCoreNumbers);
Compute the k-core decomposition of the input graph.