VTK
|
Compute Brandes betweenness centrality on a vtkGraph. More...
#include <vtkBoostBrandesCentrality.h>
Public Types | |
typedef vtkGraphAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkBoostBrandesCentrality * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetInvertEdgeWeightArray (bool) |
virtual void | InvertEdgeWeightArrayOn () |
virtual void | InvertEdgeWeightArrayOff () |
virtual void | SetUseEdgeWeightArray (bool) |
virtual void | UseEdgeWeightArrayOn () |
virtual void | UseEdgeWeightArrayOff () |
virtual char * | GetEdgeWeightArrayName () |
virtual void | SetEdgeWeightArrayName (const char *) |
Static Public Member Functions | |
static vtkBoostBrandesCentrality * | New () |
static int | IsTypeOf (const char *type) |
static vtkBoostBrandesCentrality * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkBoostBrandesCentrality () | |
~vtkBoostBrandesCentrality () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Compute Brandes betweenness centrality on a vtkGraph.
This vtk class uses the Boost brandes_betweeness_centrality generic algorithm to compute betweenness centrality on the input graph (a vtkGraph).
Definition at line 48 of file vtkBoostBrandesCentrality.h.
Reimplemented from vtkGraphAlgorithm.
Definition at line 52 of file vtkBoostBrandesCentrality.h.
vtkBoostBrandesCentrality::vtkBoostBrandesCentrality | ( | ) | [protected] |
vtkBoostBrandesCentrality::~vtkBoostBrandesCentrality | ( | ) | [protected] |
static vtkBoostBrandesCentrality* vtkBoostBrandesCentrality::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkGraphAlgorithm.
static int vtkBoostBrandesCentrality::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
virtual int vtkBoostBrandesCentrality::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkGraphAlgorithm.
static vtkBoostBrandesCentrality* vtkBoostBrandesCentrality::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphAlgorithm.
virtual vtkObjectBase* vtkBoostBrandesCentrality::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkGraphAlgorithm.
Reimplemented from vtkGraphAlgorithm.
void vtkBoostBrandesCentrality::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkGraphAlgorithm.
virtual void vtkBoostBrandesCentrality::SetUseEdgeWeightArray | ( | bool | ) | [virtual] |
Get/Set the flag that sets the rule whether or not to use the edge weight array as set using SetEdgeWeightArrayName
.
virtual void vtkBoostBrandesCentrality::UseEdgeWeightArrayOn | ( | ) | [virtual] |
Get/Set the flag that sets the rule whether or not to use the edge weight array as set using SetEdgeWeightArrayName
.
virtual void vtkBoostBrandesCentrality::UseEdgeWeightArrayOff | ( | ) | [virtual] |
Get/Set the flag that sets the rule whether or not to use the edge weight array as set using SetEdgeWeightArrayName
.
virtual void vtkBoostBrandesCentrality::SetInvertEdgeWeightArray | ( | bool | ) | [virtual] |
virtual void vtkBoostBrandesCentrality::InvertEdgeWeightArrayOn | ( | ) | [virtual] |
virtual void vtkBoostBrandesCentrality::InvertEdgeWeightArrayOff | ( | ) | [virtual] |
virtual char* vtkBoostBrandesCentrality::GetEdgeWeightArrayName | ( | ) | [virtual] |
Get/Set the name of the array that needs to be used as the edge weight. The array should be a vtkDataArray.
virtual void vtkBoostBrandesCentrality::SetEdgeWeightArrayName | ( | const char * | ) | [virtual] |
Get/Set the name of the array that needs to be used as the edge weight. The array should be a vtkDataArray.
int vtkBoostBrandesCentrality::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkGraphAlgorithm.