Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::planar_separators::Postprocessor Class Referenceabstract

Abstract description of postprocessors. More...

#include <ogdf/graphalg/PlanarSeparatorModule.h>

+ Inheritance diagram for ogdf::planar_separators::Postprocessor:

Public Member Functions

 Postprocessor ()
 
virtual ~Postprocessor ()
 
virtual bool apply (const Graph &G, List< node > &separator, List< node > &first, List< node > &second)=0
 Applies the postprocessor to a given separation.
 
virtual std::string getName () const =0
 Returns the human-readable identifier of this postprocessor.
 

Detailed Description

Abstract description of postprocessors.

Definition at line 362 of file PlanarSeparatorModule.h.

Constructor & Destructor Documentation

◆ Postprocessor()

ogdf::planar_separators::Postprocessor::Postprocessor ( )
inline

Definition at line 364 of file PlanarSeparatorModule.h.

◆ ~Postprocessor()

virtual ogdf::planar_separators::Postprocessor::~Postprocessor ( )
inlinevirtual

Definition at line 366 of file PlanarSeparatorModule.h.

Member Function Documentation

◆ apply()

virtual bool ogdf::planar_separators::Postprocessor::apply ( const Graph G,
List< node > &  separator,
List< node > &  first,
List< node > &  second 
)
pure virtual

Applies the postprocessor to a given separation.

Parameters
Gthe graph
separatorlist of separator nodes
firstfirst half of nodes
secondsecond half of nodes
Returns
true if everything worked

Implemented in ogdf::planar_separators::NodeExpulsor, and ogdf::planar_separators::DMDecomposer.

◆ getName()

virtual std::string ogdf::planar_separators::Postprocessor::getName ( ) const
pure virtual

Returns the human-readable identifier of this postprocessor.

Returns
the name

Implemented in ogdf::planar_separators::NodeExpulsor, and ogdf::planar_separators::DMDecomposer.


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