Interface of algorithms for computing a node ranking. More...
#include <ogdf/module/RankingModule.h>
Inheritance diagram for ogdf::RankingModule:Public Member Functions | |
| RankingModule () | |
| Initializes a ranking module. More... | |
| virtual | ~RankingModule () |
| virtual void | call (const Graph &G, NodeArray< int > &rank)=0 |
Computes a node ranking of the digraph G in rank. More... | |
| virtual void | call (const Graph &G, const EdgeArray< int > &, const EdgeArray< int > &, NodeArray< int > &rank) |
| void | operator() (const Graph &G, NodeArray< int > &rank) |
Computes a node ranking of the digraph G in rank. More... | |
Interface of algorithms for computing a node ranking.
Definition at line 45 of file RankingModule.h.
|
inline |
Initializes a ranking module.
Definition at line 48 of file RankingModule.h.
|
inlinevirtual |
Definition at line 50 of file RankingModule.h.
Computes a node ranking of the digraph G in rank.
This method is the actual algorithm call and must be implemented by derived classes.
| G | is the input digraph. |
| rank | is assigned the node ranking. |
Implemented in ogdf::LongestPathRanking, ogdf::OptimalRanking, and ogdf::CoffmanGrahamRanking.
|
inlinevirtual |
Reimplemented in ogdf::LongestPathRanking, and ogdf::OptimalRanking.
Definition at line 63 of file RankingModule.h.
Computes a node ranking of the digraph G in rank.
| G | is the input digraph. |
| rank | is assigned the node ranking. |
Definition at line 74 of file RankingModule.h.