Baseclasses
Definition
The DfsRanking module computes the following ranking of a graph G: We build a DFS forest T of the underlying undirected graph of G and set
General Information
Algorithm | |
name | DFS-Ranking |
long name | DFS-Ranking |
author |
Implementation | |
author | C. Gutwenger |
date | February 1998 |
version | 1.0 |
Pre- and Postcondition
precondition | = | { directed } |
postcondition(PRE) | = | ![]() |
#include < AGD/DfsRanking.h >
Creation
DfsRanking | R | creates an instance R of type DfsRanking. |
Operations
Standard Interface (Inherited Methods) The detailed description of these methods can be found in the manual entries of the base class (RankAssignment).
bool | R.check(const leda_graph& G, AgdKey& p) | |
void | R.call(const leda_graph& G, leda_node_array<int>& rank) |
Implementation
The computation of the ranking takes time
(| V| + | E|).
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13