Spelling suggestions: "subject:"bridgeport"" "subject:"changepoint""
1 |
Multitrådad Schemaläggning avxtUML Modeller : Utfört på Saab Dynamics / Multithreaded scheduling of xtUML modelsGripsborn, Carolina January 2022 (has links)
Executable and Translatable UML (xtUML) is a modeling methodology where a system is constructed using a set of UML models and an action language, which can be translated to a target implementation and compiled into an executable program. It allows for good readability and understanding of the workings of the system and relations between its different parts, easy testing and reusability. With a subset of UML diagrams and finite state machines, the actors in the system and the execution progression can be defined. These models are then made into an executable program using a model compiler. Saab Dynamics has developed their own model to C++ compiler, also made using xtUML with the open source tool Bridgepoint. In the current implementation of the compiler, events which trigger a class instance to transition from one state in a state machine to another, are picked from a queue and processed one by one. In theory, a speedup of the execution time for programs could be achieved if multiple events were run simultaneously. To enable parallel execution, additional functionality needs to be added to the compiler to map dependencies between classes and schedule events on threads.To achieve this a parser was implemented, which iterates every state machine and finds statements which access other classes and could result in a potential data race. These shared data accesses are mapped as instances of a Dependency class if at least one writes to it. These are then later used by the compiler to determine for each class to which classes it has a dependency. During execution when events are picked from queue, a check is made for the target class of the event to the currently executing classes on other active threads, to determine if the event is allowed to be processed immediately or if it should be placed in queue again. Threads are created at the start of the program in a thread pool, and are awakened once an independent event is found and added to the thread's own queue. Results from test models compiled using the new version of the model compiler show that the parser finds all data accesses to other classes and accurately maps the dependencies between them. The end results of the programs are equal to that of the serial executions, and the principles of xtUML are maintained. While there are still improvements to be made to increase the parallelization of events, there was a significant speedup in execution time to be seen for models containing time consuming independent state machines.
|
2 |
Our Last Home: Designing for Care at the End of LifeLam, Andrea Wing-San 31 January 2013 (has links)
In the last fifty years, hospice palliative care has changed the modern understanding of dying. Rather than focusing on death, it promotes the facilitation of optimizing life for patients whose conditions have worsened beyong the possibility of recovery or cure. As such, this thesis is a response to the demands of architecture to support this unique stage of life. It analyzes and posits guidelines for designing spaces which must cater to the specific and vastly different needs of the palliative care specialists, family members, and the patients themselves. Also, it seeks to examine the nuanced complexities and poetics involved in a proposed architectural design for a hospice in downtown Toronto.
The typology for a hospice is one that is both complex and evolving. It must combine the domestic scale of a home with the efficiency and standardization of an institution. The contemporary hospice must also accommodate rituals and beliefs surrounding the end of life that vary greatly from the many cultures that make up the contemporary city. At the very least, the building must provide inspiration and a hope for a peaceful and dignified transition, recognizing also that this is no longer a traditional place for cure. The distinctions suggest a reconsideration of what is needed and what is expected for those involved in and affected by the dying process.
This thesis will explore the architectural possibilities inherent in a new social understanding of the end of life that defies the fatalistic view of an inevitable death, in favour of a hope for dying with dignity while embracing an opportunity to experience liminality during our final days.
|
3 |
Our Last Home: Designing for Care at the End of LifeLam, Andrea Wing-San 31 January 2013 (has links)
In the last fifty years, hospice palliative care has changed the modern understanding of dying. Rather than focusing on death, it promotes the facilitation of optimizing life for patients whose conditions have worsened beyong the possibility of recovery or cure. As such, this thesis is a response to the demands of architecture to support this unique stage of life. It analyzes and posits guidelines for designing spaces which must cater to the specific and vastly different needs of the palliative care specialists, family members, and the patients themselves. Also, it seeks to examine the nuanced complexities and poetics involved in a proposed architectural design for a hospice in downtown Toronto.
The typology for a hospice is one that is both complex and evolving. It must combine the domestic scale of a home with the efficiency and standardization of an institution. The contemporary hospice must also accommodate rituals and beliefs surrounding the end of life that vary greatly from the many cultures that make up the contemporary city. At the very least, the building must provide inspiration and a hope for a peaceful and dignified transition, recognizing also that this is no longer a traditional place for cure. The distinctions suggest a reconsideration of what is needed and what is expected for those involved in and affected by the dying process.
This thesis will explore the architectural possibilities inherent in a new social understanding of the end of life that defies the fatalistic view of an inevitable death, in favour of a hope for dying with dignity while embracing an opportunity to experience liminality during our final days.
|
4 |
Bridging of complex data structures between xtUML domains / Bryggning av komplexa datastrukturer mellan xtUML-domänerElgh, Jesper January 2022 (has links)
Executable and Translatable UML (xtUML) is a high level software development method where models are developed using UML diagrams and action language code. Model compilers can translate a model into another programming language which is then executable. When developing xtUML models one of the main benefits is that the documentation of the program is created at the same time as the program in the shape of UML diagrams. It is therefore also important that it is possible to create good UML diagrams that gives the reader a good and clear understanding of how the program works without having to look at the code. One problem is the use of arrays and structured data types in the models because they can make a model more difficult to understand and therefore it would be good to be able to refrain from using them and instead model arrays and structured data types as classes with relations between them. This becomes an issue when an array should be sent to another domain in the system because a lot of action language code must be written which is inconvenient. A solution to this problem would be to send class object instances directly to other domains. In this thesis a solution to the problem has been proposed along with alternate options of solving it. The proposed solution has also been implemented in an existing model compiler and the results show that the performance in compilation time is slower compared to when using the built-in arrays and structured data types, but faster or the same compared to letting the user write its own code for sending object instances. The execution time for a small model using the new solution has increased by a lot compared to using arrays and structured data types, and the size of the executable file has almost doubled but if bigger models are created this difference may become negligible.
|
Page generated in 0.0482 seconds