dc.date.accessioned | 2013-11-21T11:01:31Z | |
dc.date.available | 2013-11-21T11:01:31Z | |
dc.date.issued | 2013 | en_US |
dc.date.submitted | 2013-08-01 | en_US |
dc.identifier.citation | Rolfsnes, Thomas Gramstad. Towards Automated Transformation of UML/OCL to Prolog for Efficient Configuration of Integrated Control Systems. Masteroppgave, University of Oslo, 2013 | en_US |
dc.identifier.uri | http://hdl.handle.net/10852/37691 | |
dc.description.abstract | The configuration of product-lines can be an error-prone and time consuming process. In this thesis we extend on the work by Behjati [A model-based approach to the software configuration of integrated control systems,2012], where a product-line methodology has been proposed. The end goal is to implement a configuration tool that will ease the product-line configuration process. The configuration tool demands two model transformations. The first transformation produces an intermediate model (used internally by the tool) from a product-line model, the implementation of this transformation is fully described in this thesis. The second transformation uses this intermediate model, together with OCL constraints, to produce a logic-program, specified in Prolog. The efficiency of the generated Prolog code is critical for the configuration tool. In this thesis we take steps towards this transformation. We hypothesized that the following aspects of the Prolog code is critical for efficiency: How instances of the intermediate model are represented in Prolog (i.e., the structure of the Prolog query), how associations are represented and resolved, and how the Prolog predicates, representing the intermediate-model and OCL, are organized. We performed a large scale experiment investigating these factors, as well as the impact of instance size, the configuration of attributes (i.e., if values has been set), and impact of changing the OCL constraint sets used. The main findings were the following: Representing the instances as a binary-tree structure, combined with a resolution of associations through id-references, yielded the highest efficiency. Further, condensing the Prolog predicates led to increased efficiency in cases where the individual predicates (i.e., the transformed OCL constraints), shared association-navigations. The configuration of attributes were found to not impact efficiency. Future work can take advantage of these findings to move even closer to getting a fulfilled and efficient transformation to Prolog. | eng |
dc.language.iso | eng | en_US |
dc.title | Towards Automated Transformation of UML/OCL to Prolog for Efficient Configuration of Integrated Control Systems | en_US |
dc.type | Master thesis | en_US |
dc.date.updated | 2013-11-14 | en_US |
dc.creator.author | Rolfsnes, Thomas Gramstad | en_US |
dc.subject.nsi | VDP::420 | en_US |
dc.identifier.bibliographiccitation | info:ofi/fmt:kev:mtx:ctx&ctx_ver=Z39.88-2004&rft_val_fmt=info:ofi/fmt:kev:mtx:dissertation&rft.au=Rolfsnes, Thomas Gramstad&rft.title=Towards Automated Transformation of UML/OCL to Prolog for Efficient Configuration of Integrated Control Systems&rft.inst=University of Oslo&rft.date=2013&rft.degree=Masteroppgave | en_US |
dc.identifier.urn | URN:NBN:no-39691 | |
dc.type.document | Masteroppgave | en_US |
dc.identifier.duo | 183822 | en_US |
dc.contributor.supervisor | Razieh Behjati, Tao Yue and Magne Jørgensen | en_US |
dc.identifier.fulltext | Fulltext https://www.duo.uio.no/bitstream/handle/10852/37691/1/rolfsnes-master.pdf | |