Constraint Solving for User Interface Layout Problems

Show simple item record

dc.contributor.advisor Lutteroth, C en
dc.contributor.advisor Weber, G en
dc.contributor.author Jamil, Noreen en
dc.date.accessioned 2015-02-12T19:54:34Z en
dc.date.issued 2015 en
dc.identifier.citation 2015 en
dc.identifier.uri http://hdl.handle.net/2292/24490 en
dc.description.abstract This thesis proposes efficient and robust algorithms for solving linear constraints problems for graphical user interface (GUI) layout. Constraints have been recognised as a powerful method for the specification of GUI layouts for a long time. Most constraint problems encountered in this area are sparse, i.e. most linear coefficients in the corresponding coefficient matrix are zero. The numerical methods that have been proposed for solving layout problems so far are mainly direct methods. The focus of this research is on investigating iterative methods for solving these problems efficiently. The algorithms developed in this thesis are compared to well-known direct and linear programming algorithms. The performance and convergence of the proposed and existing algorithms were evaluated empirically using randomly generated UI layout specifications of various sizes. Successive Over-Relaxation (SOR) is one of the most commonly used iterative methods for solving linear problems, and this was the first algorithm investigated in this thesis. In contrast to direct methods such as Gauss-elimination or QR-factorization, SOR is particularly efficient for problems with sparse matrices, as they appear in GUI layout specifications. However, SOR as described in the literature has its limitations: it works only with square matrices and does not support soft constraints, which makes it inapplicable to UI layout problems. This research extends SOR so that it can be used to solve non-square matrices and soft constraints. Furthermore, different optimizations of SOR were investigated to speed up its convergence. First, we propose a metric to measure the optimality of a constraint sequence and then a Simulated Annealing based algorithm, that optimizes the order in which constraints are solved. Second, we propose Constraint-Wise Under-relaxation (CWU), a technique in which the relaxation parameters of individual constraints are adjusted during solving. Third, we investigate the use of a warm start strategy, which reuses the solution of a previous layout to warm start the solving of a new layout, taking into account that most layout changes during runtime are small. Another contribution of this thesis is an investigation of the Kaczmarz method – an iterative orthogonal projection algorithm – for solving GUI layout problems. This algorithm is more efficient than the SOR algorithm and its convergence is guaranteed. However, to make it applicable to GUI problems some extensions were necessary, such as support for soft constraints. We also investigate some approaches for least-squares solving and optimization in this context. en
dc.publisher ResearchSpace@Auckland en
dc.relation.ispartof PhD Thesis - University of Auckland en
dc.rights Items in ResearchSpace are protected by copyright, with all rights reserved, unless otherwise indicated. Previously published items are made available in accordance with the copyright policy of the publisher. en
dc.rights.uri https://researchspace.auckland.ac.nz/docs/uoa-docs/rights.htm en
dc.rights.uri http://creativecommons.org/licenses/by-nc-sa/3.0/nz/ en
dc.title Constraint Solving for User Interface Layout Problems en
dc.type Thesis en
thesis.degree.grantor The University of Auckland en
thesis.degree.level Doctoral en
thesis.degree.name PhD en
dc.rights.holder Copyright: The Author en
dc.rights.accessrights http://purl.org/eprint/accessRights/OpenAccess en
pubs.elements-id 475705 en
pubs.record-created-at-source-date 2015-02-13 en
dc.identifier.wikidata Q112909316


Files in this item

Find Full text

This item appears in the following Collection(s)

Show simple item record

Share

Search ResearchSpace


Browse

Statistics