VTK
|
Find the biconnected components of a graph. More...
#include <vtkBoostBiconnectedComponents.h>
Public Types | |
typedef vtkUndirectedGraphAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkBoostBiconnectedComponents * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetOutputArrayName (const char *) |
Static Public Member Functions | |
static vtkBoostBiconnectedComponents * | New () |
static int | IsTypeOf (const char *type) |
static vtkBoostBiconnectedComponents * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkBoostBiconnectedComponents () | |
~vtkBoostBiconnectedComponents () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Find the biconnected components of a graph.
The biconnected components of a graph are maximal regions of the graph where the removal of any single vertex from the region will not disconnect the graph. Every edge belongs to exactly one biconnected component. The biconnected component of each edge is given in the edge array named "biconnected component". The biconnected component of each vertex is also given in the vertex array named "biconnected component". Cut vertices (or articulation points) belong to multiple biconnected components, and break the graph apart if removed. These are indicated by assigning a component value of -1. To get the biconnected components that a cut vertex belongs to, traverse its edge list and collect the distinct component ids for its incident edges.
Self-loop edges that start and end at the same vertex are not assigned a biconnected component, and are given component id -1.
Definition at line 56 of file vtkBoostBiconnectedComponents.h.
Reimplemented from vtkUndirectedGraphAlgorithm.
Definition at line 60 of file vtkBoostBiconnectedComponents.h.
vtkBoostBiconnectedComponents::vtkBoostBiconnectedComponents | ( | ) | [protected] |
vtkBoostBiconnectedComponents::~vtkBoostBiconnectedComponents | ( | ) | [protected] |
static vtkBoostBiconnectedComponents* vtkBoostBiconnectedComponents::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkUndirectedGraphAlgorithm.
static int vtkBoostBiconnectedComponents::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 vtkUndirectedGraphAlgorithm.
virtual int vtkBoostBiconnectedComponents::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 vtkUndirectedGraphAlgorithm.
static vtkBoostBiconnectedComponents* vtkBoostBiconnectedComponents::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkUndirectedGraphAlgorithm.
virtual vtkObjectBase* vtkBoostBiconnectedComponents::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkUndirectedGraphAlgorithm.
Reimplemented from vtkUndirectedGraphAlgorithm.
void vtkBoostBiconnectedComponents::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 vtkUndirectedGraphAlgorithm.
virtual void vtkBoostBiconnectedComponents::SetOutputArrayName | ( | const char * | ) | [virtual] |
Set the output array name. If no output array name is set then the name "biconnected component" is used.
int vtkBoostBiconnectedComponents::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkUndirectedGraphAlgorithm.