ORCSolver: An Efficient Solver for Adaptive GUI Layout with OR-Constraints

Yue Jiang, Wolfgang Stuerzlinger, Matthias Zwicker and Christof Lutteroth

Abstract

OR-constrained (ORC) graphical user interface layouts unify conventional constraint-based layouts with flow layouts, which enables the definition of flexible layouts that adapt to screens with different sizes, orientations, or aspect ratios with only a single layout specification. Unfortunately, solving ORC layouts with current solvers is time-consuming and the needed time increases exponentially with the number of widgets and constraints. To address this challenge, we propose ORCSolver, a novel solving technique for adaptive ORC layouts, based on a branch-and-bound approach with heuristic preprocessing. We demonstrate that ORCSolver simplifies ORC specifications at runtime and our approach can solve ORC layout specifications efficiently at near-interactive rates.

Venue
CHI 2020
Volume
Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3313831.3376610
PDF
https://dl.acm.org/doi/pdf/10.1145/3313831.3376610
Anthology ID
2020.chi.481

Cite

@inproceedings{jiang-etal-2020-orcsolver,
    title = {{ORCSolver: An Efficient Solver for Adaptive GUI Layout with OR-Constraints}},
    author = {Yue Jiang and Wolfgang Stuerzlinger and Matthias Zwicker and Christof Lutteroth},
    booktitle = {Proceedings of the 2020 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450367080},
    year = {2020},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3313831.3376610},
    url = {https://doi.org/10.1145/3313831.3376610},
    abstract = {OR-constrained (ORC) graphical user interface layouts unify conventional constraint-based layouts with flow layouts, which enables the definition of flexible layouts that adapt to screens with different sizes, orientations, or aspect ratios with only a single layout specification. Unfortunately, solving ORC layouts with current solvers is time-consuming and the needed time increases exponentially with the number of widgets and constraints. To address this challenge, we propose ORCSolver, a novel solving technique for adaptive ORC layouts, based on a branch-and-bound approach with heuristic preprocessing. We demonstrate that ORCSolver simplifies ORC specifications at runtime and our approach can solve ORC layout specifications efficiently at near-interactive rates.}
}