VTK  9.4.20241117
vtkBoostBrandesCentrality.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
22#ifndef vtkBoostBrandesCentrality_h
23#define vtkBoostBrandesCentrality_h
24
25#include "vtkInfovisBoostGraphAlgorithmsModule.h" // For export macro
26#include "vtkVariant.h" // For variant type
27
28#include "vtkGraphAlgorithm.h"
29
30VTK_ABI_NAMESPACE_BEGIN
31class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBrandesCentrality : public vtkGraphAlgorithm
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
43 vtkSetMacro(UseEdgeWeightArray, bool);
44 vtkBooleanMacro(UseEdgeWeightArray, bool);
46
47 vtkSetMacro(InvertEdgeWeightArray, bool);
48 vtkBooleanMacro(InvertEdgeWeightArray, bool);
49
51
55 vtkGetStringMacro(EdgeWeightArrayName);
56 vtkSetStringMacro(EdgeWeightArrayName);
58
59protected:
62
64
65private:
66 bool UseEdgeWeightArray;
67 bool InvertEdgeWeightArray;
68 char* EdgeWeightArrayName;
69
71 void operator=(const vtkBoostBrandesCentrality&) = delete;
72};
73
74VTK_ABI_NAMESPACE_END
75#endif
Compute Brandes betweenness centrality on a vtkGraph.
~vtkBoostBrandesCentrality() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
static vtkBoostBrandesCentrality * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only graph as output.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.