This article presents the design of a High Level Parallel Composition or CPAN (according to its Spanish acronym) that is defined as the composition of a set of parallel objects of three types: one object manager, the ...
详细信息
ISBN:
(纸本)8469007262
This article presents the design of a High Level Parallel Composition or CPAN (according to its Spanish acronym) that is defined as the composition of a set of parallel objects of three types: one object manager, the stages and the Collector objects and that implements a parallelization of the algorithmic design technique named Branch & Bound and uses it to solve the Travelling Salesman Problem (TSP), within a methodological infrastructure made up of an environment of Parallel objects, an approach to Structured Parallel programming and the object- Orientation paradigm. Thus, in this work, the CPAN Branch & Bound is added as a new pattern to the library of classes already proposed, which was initially constituted by the CPANs Farm, Pipe and TreeDV that represent, respectively, the patterns of communication Farm, Pipeline and Binary Tree, the latter one implementing the design technique known as Divide and Conquer. As the programming environment used to derive the proposed CPANs, we use C++ and the POSIX standard for thread programming.
In this paper we discuss how to generate wrapper code that allows existing C++ class libraries to be accessed from scripting languages such as Tcl and Perl. Previously suggested approaches to this problem are reviewed...
详细信息
In this paper we discuss how to generate wrapper code that allows existing C++ class libraries to be accessed from scripting languages such as Tcl and Perl. Previously suggested approaches to this problem are reviewed and compared. We point out some problems related to the C++ object model and the difficulties introduced by advanced C++ constructs such as templates, nested types, type definitions, temporaries, implicit casts, multiple inheritance and overloading. We argue that it is necessary to support all of these features, as they are used frequently in all modern C++ libraries. A new system called TIDE, which integrates C++ and Tcl, is presented and we describe the ideas behind its design. As an example, we show how TIDE can be used for accessing the ISO C++ draft standard library.
In this project a concept for developing and improving the control and monitoring of a power transformer by using a PLC is presented. A PLC system can contribute with several key functionalities which are necessary in...
详细信息
In this project a concept for developing and improving the control and monitoring of a power transformer by using a PLC is presented. A PLC system can contribute with several key functionalities which are necessary in the ongoing reconstruction of the power grid, towards the smart grid concept. However due to a high variation in the design of the power transformer, it is neces- sary to use a smart code structure. This report presents a possible code structure of the control logic and simulation model, that can be used for validation of the control logic, as well as reducing the developing time for this type of projects. In order to obtain this, the project have been utilizing features from the object oriented programming which enables for easy modification, adding, removing, etc of different functionalities in the PLC program. In this project the reusability and flexibility in the code structure have been increased by building the application in several layers based on basic components. This is accomplished by using two of the four foundations of object oriented programming, inheritance and encapsulation. This approach will reduce the required time for developing the control logic but also encourage to utilize the benefits of simulation earlier and give the engineer faster feedback.
The majority of Learning management systems (LMS) provide the functionality only for evaluation of built-in tests activities without any support for evaluation of case studies, which are frequently used in programming...
详细信息
First aid, immediate assistance for individuals facing illness, injury, or accidents, plays a crucial role in saving lives, preventing physical disabilities, and providing comfort before being referred to a healthcare...
详细信息
As bases for object-orientation, both class-based and prototype-based organization have limitations. We argue that roles have significant benefits as a foundation for organizing objects. We further argue that these be...
详细信息
ISBN:
(纸本)1581138334
As bases for object-orientation, both class-based and prototype-based organization have limitations. We argue that roles have significant benefits as a foundation for organizing objects. We further argue that these benefits can be realised most flexibly using logic meta-programming. Additional benefits from this approach are to reduce redundancy and subsume aspects.
Two varieties of object-oriented systems exist: one based on classes as in Smalltalk and another based on exemplars (or prototypical objects) as in Act/1. By converting Smalltalk from a class based orientation to an e...
详细信息
This paper presents an overview of the sound processing applications of the Sound object (SndObj) Library version 2.0. The SndObj library is an object-oriented sound synthesis and processing programming library. It is...
详细信息
Design Principles are standards used to organize and arrange the structural components of Software Engineering design. Methods in which these design principles are applied affect the expressive content and the working...
详细信息
object-orientedprogramming is more and more spreading in engineering and scientific areas for some relevant benefits making it particularly appealing to write complex codes. Nevertheless, the use of such a programmin...
详细信息
暂无评论