두 가지 계층적 도식화 프레임워크의 비교 알고리즘 및 실험
Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks
Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks
@misc{lionakis2020algorithms,
title = {Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks},
author = {Panagiotis Lionakis and Giorgos Kritikakis and Ioannis G. Tollis},
year = {2020},
eprint = {2011.12155},
archivePrefix = {arXiv},
primaryClass = {cs.DS},
url = {https://arxiv.org/abs/2011.12155}
}
Lionakis, P., Kritikakis, G., & Tollis, I. G. (2020). Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2011.12155
LIONAKIS P, KRITIKAKIS G, TOLLIS IG. Algorithms and Experiments Comparing Two Hierarchical Drawing Frameworks[EB/OL]. (2020-11-24)[2026-11-29]. https://arxiv.org/abs/2011.12155.
초록
경로 기반 계층적 그리프를 확장하는 알고리즘과 실험 결과를 제시한다. 우리의 알고리즘은 O(km) 시간 내에 실행되며, 여기서 k 는 경로의 개수, m는 그래프의 간선 개수이다. 기존 경로 기반 그리프보다 더 나은 상한치를 제공한다: 예를 들어, 생성된 그리프의 높이는 G의 가장 긴 경로의 길이에 같으며, n-1 (여기서 n는 노드의 개수)가 아닌 값이다. 또한, 우리는 이 그리프를 확장하여 최소한의 추가 너비로 DAG의 모든 간선을 묶어 O(m + n log n) 시간 내에 그리기까지 확장한다. 개념 증명으로서 잘 알려진 계층적 그리프인 Sugiyama 그리프와의 비교도 제공한다. 실험 결과는 우리의 알고리즘이 영역과 굽힘 개수에서 더 나은 그리프를 생성하지만, 희소 그래프에서는 교차 개수에서 더 나쁘다는 것을 보여준다. 따라서, 우리의 기법은 계층적 그래프 그리기에 흥미로운 대안이다. 마지막으로, 총 간선 길이와 교차 및 굽힘 개수를 줄이기 위해 경로의 특정 순서를 계산하는 O(m + k log k) 시간 알고리즘을 제시한다.
We present algorithms that extend the path-based hierarchical drawing framework and give experimental results. Our algorithms run in O(km) time, where k is the number of paths and m is the number of edges of the graph, and provide better upper bounds than the original path based framework: e.g., the height of the resulting drawings is equal to the length of the longest path of G, instead of n-1, where n is the number of nodes. Additionally, we extend this framework, by bundling and drawing all the edges of the DAG in O(m + n log n) time, using minimum extra width per path. We also provide some comparison to a well known hierarchical drawing framework, widely known as the Sugiyama framework, as a proof of concept. The experimental results show that our algorithms produce drawings that are better in area and number of bends, but worse for crossings in sparse graphs. Hence, our technique offers an interesting alternative for drawing hierarchical graphs. Finally, we present an O(m + k log k) time algorithm that computes a specific order of the paths in order to reduce the total edge length and number of crossings and bends.