Baseclasses
Definition
An instance Lmc of type LmcOrder is a leftmost canonical ordering of a graph G. We define a leftmost canonical ordering as follows:
Definition: A canonical ordering is a leftmost canonical (lmc-)ordering if we can add in any step k a vertex Vk with leftvertex cl or a vertex set Vk' with leftvertex cl', and l < l' holds, then k < k'.
#include < AGD/CanonicalOrder.h >
Creation
LmcOrder | Lmc(leda_graph& g, CanonicalOrderType co_type = co_triconnected, leda_face F = nil, bool prefer_nodes = false, double base_ratio = 0.0) | |
creates an instance Lmc of type LmcOrder initialized to a leftmost canonical order for G. Precondition: G is a directed graph representing a planar map. |
Implementation
LmcOrder derives from CanonicalOrder. The transformation into a
leftmost ordering takes time
(n), where n is the number of nodes
of G.
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13