Interface of algorithms for computing a node ranking. More...
#include <ogdf/layered/RankingModule.h>
Public Member Functions | |
RankingModule () | |
Initializes a ranking module. More... | |
virtual | ~RankingModule () |
virtual void | call (const Graph &G, const EdgeArray< int > &, const EdgeArray< int > &, NodeArray< int > &rank) |
virtual void | call (const Graph &G, NodeArray< int > &rank)=0 |
Computes a node ranking of the digraph G in rank . More... | |
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 46 of file RankingModule.h.
|
inline |
Initializes a ranking module.
Definition at line 49 of file RankingModule.h.
|
inlinevirtual |
Definition at line 51 of file RankingModule.h.
|
inlinevirtual |
Reimplemented in ogdf::LongestPathRanking, and ogdf::OptimalRanking.
Definition at line 64 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.
Computes a node ranking of the digraph G
in rank
.
G | is the input digraph. |
rank | is assigned the node ranking. |
Definition at line 75 of file RankingModule.h.