VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkBoostBiconnectedComponents Class Reference

Find the biconnected components of a graph. More...

#include <vtkBoostBiconnectedComponents.h>

Inheritance diagram for vtkBoostBiconnectedComponents:
Inheritance graph
[legend]
Collaboration diagram for vtkBoostBiconnectedComponents:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkUndirectedGraphAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkBoostBiconnectedComponentsNewInstance () 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 vtkObjectBaseNewInstanceInternal () const
 vtkBoostBiconnectedComponents ()
 ~vtkBoostBiconnectedComponents ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Detailed Description

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.

Warning:
The boost graph bindings currently only support boost version 1.33.1. There are apparently backwards-compatibility issues with later versions.
Examples:
vtkBoostBiconnectedComponents (Examples)
Tests:
vtkBoostBiconnectedComponents (Tests)

Definition at line 56 of file vtkBoostBiconnectedComponents.h.


Member Typedef Documentation

Reimplemented from vtkUndirectedGraphAlgorithm.

Definition at line 60 of file vtkBoostBiconnectedComponents.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.


The documentation for this class was generated from the following file: