In this paper we present an algorithm enumerating all regions (external and inner) of a connected undirected simple planar graph. The main idea for the algorithm is a special travel on graph edges. Since the most time consuming operation we use is sorting of n-element set, the computational complexity of our method is O(nlgn).
JavaScript jest wyłączony w Twojej przeglądarce internetowej. Włącz go, a następnie odśwież stronę, aby móc w pełni z niej korzystać.