arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2411.12271cs.LOcs.HC
收藏

SMT-Layout:一种基于MaxSMT的支持真实世界GUI布局实时交互的方法

SMT-Layout: A MaxSMT-based Approach Supporting Real-time Interaction of Real-world GUI Layout

Bohan Li, Dawei Li, Ming Fu, Shaowei Cai

AI总结:

SMT-Layout首次将布尔变量编码层级关系引入约束布局,通过预处理与增量求解实现真实GUI布局在低算力设备上的毫秒级实时交互。

摘要:

利用(Max)SMT灵活的表达式能力和SMT求解器强大的求解能力,我们提出了一种名为SMT-Layout的新型布局模型。SMT-Layout是第一个基于约束的布局模型,能够仅用一份规格说明就支持真实世界GUI布局在各种屏幕尺寸下的实时交互。以往的工作忽略了控件之间的层级信息,因此无法利用求解器的推理能力。我们首次引入布尔变量来编码层级关系,从而提升了SMT求解器的推理能力。工作流程分为两个阶段。在开发端,提出了两种新颖的预处理方法,用于提前简化约束并提取有用信息,减轻求解负担。在将约束部署到终端之后,应用SMT求解器以增量方式求解约束。除了主流的SMT求解器之外,还针对该场景定制了一个局部搜索求解器。实验表明,SMT-Layout能够为真实世界布局支持毫秒级的交互,即使在计算能力较低且内存限制严格的设备上也是如此。

英文摘要:

Leveraging the flexible expressive ability of (Max)SMT and the powerful solving ability of SMT solvers, we propose a novel layout model named SMT-Layout. SMT-Layout is the first constraint-based layout model that can support real-time interaction for real-world GUI layout adapting to various screen sizes with only one specification. Previous works neglect the hierarchy information among widgets and thus cannot exploit the reasoning ability of solvers. For the first time, we introduce Boolean variables to encode the hierarchy relationship, boosting the reasoning ability of SMT solvers. The workflow is divided into two stages. At the development end, two novel preprocessing methods are proposed to simplify constraints and extract useful information in advance, easing the solving burden. After deploying constraints to the terminal end, SMT solvers are applied to solve constraints incrementally. Besides mainstream SMT solvers, a local search solver is customized to this scenario. Experiments show that SMT-Layout can support millisecond-level interaction for real-world layouts, even on devices with low computing power and rigorous memory limitations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑