35#ifndef vtkBoostKruskalMinimumSpanningTree_h
36#define vtkBoostKruskalMinimumSpanningTree_h
38#include "vtkInfovisBoostGraphAlgorithmsModule.h"
60 vtkSetStringMacro(EdgeWeightArrayName);
69 vtkSetStringMacro(OutputSelectionType);
81 vtkGetMacro(NegateEdgeWeights,
bool);
82 vtkBooleanMacro(NegateEdgeWeights,
bool);
96 char* EdgeWeightArrayName;
97 char* OutputSelectionType;
98 bool NegateEdgeWeights;
99 float EdgeWeightMultiplier;
Constructs a minimum spanning tree from a graph and the weighting array.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
void SetNegateEdgeWeights(bool value)
Whether to negate the edge weights.
static vtkBoostKruskalMinimumSpanningTree * New()
vtkBoostKruskalMinimumSpanningTree()
~vtkBoostKruskalMinimumSpanningTree() override
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Superclass for algorithms that produce only Selection as output.