Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::steiner_tree::UnorderedNodePairEquality Class Reference

A class used by the unordered_maps inside the reductions. More...

#include <ogdf/graphalg/SteinerTreePreprocessing.h>

Public Member Functions

bool operator() (const NodePair &pair1, const NodePair &pair2) const
 

Detailed Description

A class used by the unordered_maps inside the reductions.

The operator() is defined as an equality function for NodePair. The pair is unordered: (u, v) equals (v, u).

Definition at line 89 of file SteinerTreePreprocessing.h.

Member Function Documentation

◆ operator()()

bool ogdf::steiner_tree::UnorderedNodePairEquality::operator() ( const NodePair pair1,
const NodePair pair2 
) const
inline

Definition at line 91 of file SteinerTreePreprocessing.h.


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