111 results on '"Factory method pattern"'
Search Results
2. Abstract Factory Pattern
- Author
-
Sarcar, Vaskaran and Sarcar, Vaskaran
- Published
- 2019
- Full Text
- View/download PDF
3. Creational Patterns: Singleton, Factory Method, and Prototype
- Author
-
Joshi, Bipin and Joshi, Bipin
- Published
- 2016
- Full Text
- View/download PDF
4. Factory Method Patterns
- Author
-
Sarcar, Vaskaran and Sarcar, Vaskaran
- Published
- 2016
- Full Text
- View/download PDF
5. Design Patterns and Architecture
- Author
-
Crookshanks, Edward and Crookshanks, Edward
- Published
- 2014
- Full Text
- View/download PDF
6. A Formal Approach for Implementing Security Constraints in Security Patterns
- Author
-
Charu Gupta, Rakesh Kumar Singh, and Amar Kumar Mohapatra
- Subjects
Market research ,Software ,Security pattern ,business.industry ,Computer science ,Systems development life cycle ,Best practice ,Factory method pattern ,business ,Software engineering ,Software quality ,First-order logic - Abstract
Security patterns are being used in software applications to mitigate attacks occurring due to software vulnerabilities. However, developer sometimes overlooks best practices while implementing the security pattern in the software application. In this paper, authors propose a formal approach to describe various security constraints using first order predicate logic. This will facilitate the detection of security vulnerabilities at the early stages of software development life cycle. The approach has been verified using Secure Factory Pattern. The effectiveness of the approach has been further validated using Library Management System as a case study. The proposed approach will help in detection of hidden vulnerabilities in software applications.
- Published
- 2021
- Full Text
- View/download PDF
7. Automatic Generation of Chemical Auxiliary Graphs Based on GDI+
- Author
-
Dongfeng Liu, Silun Chen, and Shunqing Lin
- Subjects
Sequence ,Class (computer programming) ,Theoretical computer science ,Relation (database) ,Simple (abstract algebra) ,Singleton pattern ,Factory method pattern ,Schematic ,Graphics - Abstract
It is unrealistic to draw different auxiliary graphs manually for different virtual chemistry experiments, which is time-consuming, laborious and inefficient. We provide an automatic graph generation module based on GDI + for the virtual experiment platform, and use object-oriented method to analyze and classify the features of virtual experiment schematics. Chemical graphic library is designed and constructed, including basic primitives such as lines, triangles, curves and circles, as well as complex graph primitives combined by these basic primitives. Singleton pattern is used to design the auxiliary class, and simple factory pattern is used to manage all the primitives classes, and assembly sequence and assembly relation information combined with connection nodes are used to automatically generate the best matching combination graphics and experimental schematic diagram.
- Published
- 2021
- Full Text
- View/download PDF
8. Integrated Environment of Simulation and Real-Time Control Experiment for Control system
- Author
-
K. Yano and M. Koga
- Subjects
Automatic control ,Automatic Generation Control ,Real-time Control System ,Computer science ,Control system ,Real-time computing ,Factory method pattern ,Process control ,Design process ,Control engineering ,Real-time Control System Software - Abstract
This paper presents the methods which make a design process of control system efficient. The Real-Time control framework makes writing Real-Time control programs easy. Real-Time control programs are generated from simulation program automatically. The idea of an object model and the Factory Method pattern are used for automatic generation of Real-Time control program. Separation of platform dependent parts makes non Real-Time parts can be independent from platform. We develop a platform integrated environment of the simulation and the Real-Time control for Control system using above methods., 4th IEEE International Conference on Mechatronics (ICM 2007), 8-10 May, 2007, Kumamoto, Japan
- Published
- 2021
9. CoFunc: A unified development framework for heterogeneous FaaS computing platforms
- Author
-
Jie Yu, Bao Li, Zhe Li, and Yusong Tan
- Subjects
Function as a service ,Computer science ,business.industry ,Distributed computing ,05 social sciences ,Factory method pattern ,050801 communication & media studies ,Cloud computing ,Maintenance engineering ,Set (abstract data type) ,0508 media and communications ,Mode (computer interface) ,Development (topology) ,0502 economics and business ,Scalability ,050211 marketing ,business - Abstract
Function as a Service (FaaS) is a new popular cloud computing model in recent years, which has the characteristics of automatic scaling, on-demand billing and easy maintenance. However, the SDKs provided by different public FaaS platforms are inconsistent, increasing the cost of learning and application migration for developers. This paper proposes to build a unified development framework by encapsulating the SDKs of each FaaS platform, which uses the factory pattern of object-oriented design mode to define a set of unified abstract classes. This framework can help developers to operate across different FaaS platforms with a unified set of SDK, and has good scalability.
- Published
- 2021
- Full Text
- View/download PDF
10. Design of Entrepreneurship Learning Model with Teaching Factory Method to Improve Student’s Competencies
- Author
-
Sidik Ismanu, Anik Kusmintarti, and Moh. Abdullah Anshori
- Subjects
Entrepreneurship ,Engineering ,Entrepreneurship education ,Knowledge management ,business.industry ,Factory method pattern ,business - Published
- 2021
- Full Text
- View/download PDF
11. Automated pattern-directed refactoring for complex conditional statements.
- Author
-
Liu, Wei, Hu, Zhi-gang, Liu, Hong-tao, and Yang, Liu
- Abstract
Complex conditional statement is one of the bad code smells, which affects the quality of the code and design of software. In the proposed approach, two commonly-used design patterns for handling complex conditional statements are selected, and they are the factory method pattern and the strategy pattern. Two pattern-directed refactoring approaches based on the two design patterns are proposed. Each approach contains a refactoring opportunities identification algorithm and an automated refactoring algorithm. After parsing the abstract syntax tree generated from source code, the refactoring opportunities are identified effectively and automatically. Then, for candidate code, refactoring algorithms are executed automatically, which are used to simplify or remove complex conditional statements. By empirical analysis and quality assessment, the code after refactoring has better maintainability and extensibility, and the proposed approach for automated pattern-directed refactoring succeeds to reduce code size and complexity of classes. [ABSTRACT FROM AUTHOR]
- Published
- 2014
- Full Text
- View/download PDF
12. Simple Factory Pattern
- Author
-
Vaskaran Sarcar
- Subjects
Simple (abstract algebra) ,Computer science ,Factory method pattern ,Algorithm - Published
- 2020
- Full Text
- View/download PDF
13. Long-term Stability Enabling Technology of Silicon-Based Piezoresistive MEMS Pressure Sensor
- Author
-
M J Zhu, S Liu, X H Du, and D Liu
- Subjects
Microelectromechanical systems ,History ,Silicon ,business.industry ,Computer science ,Factory method pattern ,chemistry.chemical_element ,Piezoresistive effect ,Pressure sensor ,Automotive engineering ,Bottleneck ,Computer Science Applications ,Education ,Vibration ,chemistry ,Aerospace ,business - Abstract
Silicon-based piezoresistive microelectromechanical systems (MEMS) pressure sensor is one of the best studied and commercialized devices among all MEMS devices due to simple structure, easy reading circuit, strong batch fabrication capability and low price. The biggest technical bottleneck of this sensor for high-end applications such as aerospace is long-term stability after packaging. Therefore, long-term stability improvement technologies, as the common key technologies, have been widely concerned by academia and industry. In this paper, three common enabling technologies including pulsating fatigue, thermal-cold cycling and vibration aging are adopted to evaluate the effect of long-term stability of silicon-based piezoresistive MEMS pressure sensors by using control variable method and orthogonal test (OT) method. The comparative test results indicate that all these three technologies can improve the long-term stability of the pressure sensor. In addition, an optimized combination of environmental stress parameters is found to improve the stability more than 90% higher than before the test. The long-term stability of the sensors through the optimal parameter combination aging method is better than the original factory method. The research results can be used for reference to improve the long-term stability of various silicon-based pressure sensors.
- Published
- 2020
- Full Text
- View/download PDF
14. Quantitative analysis of fault density in design patterns: An empirical study
- Author
-
Mahmoud O. Elish and Mawal Mohammed
- Subjects
Engineering ,Theoretical computer science ,business.industry ,Factory method pattern ,Software quality ,Computer Science Applications ,Empirical research ,Software design pattern ,Decorator pattern ,Software system ,Motif (music) ,business ,human activities ,Software ,Simulation ,Information Systems ,Statistical hypothesis testing - Abstract
ContextThere are many claimed advantages for the use of design patterns and their impact on software quality. However, there is no enough empirical evidence that supports these claimed benefits and some studies have found contrary results. ObjectiveThis empirical study aims to quantitatively measure and compare the fault density of motifs of design patterns in object-oriented systems at different levels: design level, category level, motif level, and role level. MethodAn empirical study was conducted that involved five open-source software systems. Data were analyzed using appropriate statistical test of significance differences. ResultsThere is no consistent difference in fault density between classes that participate in design motifs and non-participant classes. However, classes that participate in structural design motifs tend to be less fault-dense. For creational design motifs, it was found that there is no clear tendency for the difference in fault density. For behavioral design motifs, it was found that there is no significant difference between participant classes and non-participant classes. We observed associations between five design motifs (Builder, Factory Method, Adapter, Composite and Decorator) and fault density. At the role level, we found that only one pair of roles (Adapter vs. Client) shows a significant difference in fault density. ConclusionThere is no clear tendency for the difference in fault density between participant and non-participant classes in design motifs. However, structural design motifs have a negative association with fault density. The Builder design motif has a positive association with fault density whilst the Factory Method, Adapter, Composite, and Decorator design motifs have negative associations with fault density. Classes that participate in the Adapter role are less dense in faults than classes that participate in the Client role.
- Published
- 2015
- Full Text
- View/download PDF
15. Al-Khawarizmi : Algebra Factory Method
- Author
-
Agus Hikmat Syaf, Tika Kalina Rachmawati, and Riva Lesta Ariany
- Subjects
Nonprobability sampling ,Algebra ,Class (computer programming) ,Factoring ,Computer science ,Factory method pattern ,Sampling (statistics) ,Test (assessment) ,Visualization ,Operation - Abstract
Many students find it difficult to understand the concept of algebra because it is abstract, so it is necessary that the abstract method of algebra become more concrete, one of the methods that can be used is Al-Khawarizmi method. This Research is intended to analyze students’ mistakes in working out factoring using Al-Khawarizmi, so that the mistakes can be minimized in the future. This research is a qualitative research with sampling through purposive sampling technique. The study was held in SMP (Junior High School) Negeri 2 Cileunyi. The subjects were 32 students of class IX. The main data was from the results of the factoring test by Al-Khawarizmi. Data analysis was carried out through reduction, presentation data, and withdrawal. This study describes the student’s mistakes in working out the factoring using Al-Khawarizmi method which includes counting error, visualization of equation, algorithm, measurement of answers, and student’s accuracy. From the result of research done by student in mathematical operation equal to 15.38 %, percentage of error in visualization equation 21.54 %, error in algorithm 4.62%, student error in answer is 29.23 %, and student error in accuracy is 29.23 %. This indicates that the error in the level of language is significant. As a whole this method is effective to use.
- Published
- 2018
- Full Text
- View/download PDF
16. UVM Based Reusable Verification IP for Wishbone Compliant SPI Master Core
- Author
-
Lakhan Shiva Kamireddy and Lakhan Saiteja Kamireddy
- Subjects
FOS: Computer and information sciences ,Functional verification ,Interface (Java) ,Computer science ,business.industry ,Other Computer Science (cs.OH) ,Factory method pattern ,Functional Verification ,QuestaSim ,Functional Verification, QuestaSim, Reusable VIP, Simulation, SPI Master Core, Universal Verification Methodology (UVM) ,Universal Verification Methodology (UVM) ,Reusable VIP ,Universal Verification Methodology ,Computer Science - Other Computer Science ,Embedded system ,Verilog ,SPI Master Core ,Communications protocol ,business ,Wishbone ,Protocol (object-oriented programming) ,computer ,Simulation ,computer.programming_language - Abstract
The System on Chip design industry relies heavily on functional verification to ensure that the designs are bug-free. As design engineers are coming up with increasingly dense chips with much functionality, the functional verification field has advanced to provide modern verification techniques. In this paper, we present verification of a wishbone compliant Serial Peripheral Interface (SPI) Master core using a System Verilog based standard verification methodology, the Universal Verification Methodology (UVM). The reason for using UVM factory pattern with parameterized classes is to develop a robust and reusable verification IP. SPI is a full duplex communication protocol used to interface components most likely in embedded systems. We have verified an SPI Master IP core design that is wishbone compliant and compatible with SPI protocol and bus and furnished the results of our verification. We have used QuestaSim for simulation and analysis of waveforms, Integrated Metrics Center, Cadence for coverage analysis. We also propose interesting future directions for this work in developing reliable systems., Comment: 5 pages, 6 figures
- Published
- 2018
- Full Text
- View/download PDF
17. Correlation between the Frequent Use of Gang-of-Four Design Patterns and Structural Complexity
- Author
-
Shahid Hussain, Kwabena Ebo Bennin, Jacky Keung, and Arif Ali Khan
- Subjects
Object-oriented programming ,Computer science ,Design pattern ,Singleton pattern ,05 social sciences ,Factory method pattern ,020207 software engineering ,02 engineering and technology ,computer.software_genre ,Software metric ,Structural complexity ,Empirical research ,0502 economics and business ,Software design pattern ,0202 electrical engineering, electronic engineering, information engineering ,Data mining ,computer ,050203 business & management - Abstract
The structural complexity of design components (e.g. Classes) is proportional to design quality at the system level and is quantified via the object-oriented metrics. The frequent use of design patterns causes of too much abstraction and can increase the structural complexity of design components. Though, in our previous work, we have empirically investigated the impact of use intensity of design pattern on the system level quality attributes. However, the empirical investigation of the effect of usage of design patterns on the design properties is still required. In this regard, we conduct an empirical study and perform a case study which includes the analysis 1) the existence of a correlation between design pattern usage and design metrics, 2) the confounding effect of system size (number of classes) on the correlation, and 3) how the change in number of employed design pattern instances affects the structural complexity in the subsequent releases of a system. The result of this study suggests that structural complexity associated with aggregation, coupling, functional abstraction design properties has a significant relationship with the employed instances of Template, Adapter-Command, Singleton, and Factory Method design patterns.
- Published
- 2017
- Full Text
- View/download PDF
18. Evaluating Co-Occurrence of GOF Design Patterns with God Class and Long Method Bad Smells
- Author
-
Bruno L. Sousa, Kecia A. M. Ferreira, and Mariza A. S. Bigonha
- Subjects
Java ,Computer science ,business.industry ,Co-occurrence ,Factory method pattern ,Modular design ,God object ,Software ,Software design pattern ,Software system ,business ,Software engineering ,computer ,computer.programming_language - Abstract
Design patterns are general reusable solutions to common recurring problems in software projects. These solutions, when correctly applied, are supposed to enhance modular and flexible structures in software. The aim of this work is to study the occurrences of God Class and Long Method bad smells in software systems developed with design patterns. To achieve this aim, we carried out a study with five Java project, in order to: (i) investigate if the use of GOF design patterns avoid the occurrences of the bad smells God Class and Long Method, (ii) identify co-occurrences of the GOF design patterns with these bad smells, and (iii) identify the main situations that lead software systems to present these co-occurrences. The results obtained suggest that Composite and Factory Method have a low co-occurrence with these bad smells, and Template Method and Observer have a high co-occurrence with God Class and Long Method, respectively. In addition, we have identified that the misuse of design patterns and the scattering and crosscutting concerns has contributed to the emergence of such co-occurrences.
- Published
- 2017
- Full Text
- View/download PDF
19. On the design of cross-platform social robots: A multi-purpose reminder robot as an example
- Author
-
Hsuan-Fu Yang, Wei-Shan Tsai, Kuo-Hsun Hsu, Wen-Hong Zhuang, and Li-Yung Huang
- Subjects
Engineering ,Software ,Social robot ,Multimedia ,business.industry ,Software design pattern ,Cross-platform ,Factory method pattern ,Robot ,business ,Adapter pattern ,computer.software_genre ,computer - Abstract
People nowadays would rather spend less time with their friends than on the services like Facebook or Twitter on their smartphones. Many business and enterprises start to use software robot to promote their products and interact with customers with less cost and more efficiency. Due to various APIs from different social platforms, developers have to follow specific rules while developing robots. Therefore, in this paper, we propose to develop integrated APIs by utilizing design patterns, including Adapter Pattern, Factory Pattern, for developers to create cross-platform social robots.
- Published
- 2017
- Full Text
- View/download PDF
20. Automated pattern-directed refactoring for complex conditional statements
- Author
-
Zhigang Hu, Hong-tao Liu, Wei Liu, and Liu Yang
- Subjects
Statement (computer science) ,Source code ,Computer science ,Programming language ,media_common.quotation_subject ,Metals and Alloys ,General Engineering ,Factory method pattern ,Code smell ,computer.software_genre ,Code refactoring ,Strategy pattern ,Software design pattern ,Abstract syntax tree ,computer ,media_common - Abstract
Complex conditional statement is one of the bad code smells, which affects the quality of the code and design of software. In the proposed approach, two commonly-used design patterns for handling complex conditional statements are selected, and they are the factory method pattern and the strategy pattern. Two pattern-directed refactoring approaches based on the two design patterns are proposed. Each approach contains a refactoring opportunities identification algorithm and an automated refactoring algorithm. After parsing the abstract syntax tree generated from source code, the refactoring opportunities are identified effectively and automatically. Then, for candidate code, refactoring algorithms are executed automatically, which are used to simplify or remove complex conditional statements. By empirical analysis and quality assessment, the code after refactoring has better maintainability and extensibility, and the proposed approach for automated pattern-directed refactoring succeeds to reduce code size and complexity of classes.
- Published
- 2014
- Full Text
- View/download PDF
21. The Design and Implementation of the Earthquake Intensity Rapidly Report System
- Author
-
Geng Qing Zhu, Yan Zhao Lin, Hui Shan Wang, and Lin Chen
- Subjects
Engineering ,business.industry ,Factory method pattern ,General Medicine ,Observer pattern ,computer.software_genre ,Computer security ,Software framework ,Software ,Data exchange ,Software design ,System integration ,Web service ,business ,Software engineering ,computer - Abstract
It is the status quo that the data from different earthquake emergency software applications cannot be exchanged and shared. The diverse business applications were constructed and operated in different earthquake departments. The construction scheme of the software framework based on WebService data exchange technology was proposed in this paper. To realize the system integration, several software design patterns, such as the observer pattern and the factory pattern, and the WebService technology was used. The earthquake emergency response system based on this architecture could make use of the data from other heterogeneous systems efficiently and automatically. As a result, the process of the earthquake emergency response and the decision-making would be more cooperative, scientific and comprehensive.
- Published
- 2014
- Full Text
- View/download PDF
22. Quality Assessment of a Job Portal System Designed Using Bout Design Pattern
- Author
-
Hironori Washizaki, Smriti Sharma, R. Nadarajan, and G. Priyalakshmi
- Subjects
Object-oriented programming ,Engineering ,business.industry ,Design pattern ,Software design pattern ,Factory method pattern ,Decorator pattern ,Cyclomatic complexity ,Cohesion (computer science) ,business ,Software engineering ,Simulation ,Object-oriented design - Abstract
Design Patterns provide solutions to problems that are notably prevailing in software engineering. The paper targets the importance of design patterns, but also aims on how design patterns uncover and fortify good object oriented principles. A design pattern called Bout was discovered to maintain sessions for a specific period of time. The design is a generic solution to implementing web portals by storing session data of clients on the server. The Bout pattern comprises the design principle of Singleton and Prototype patterns, thus guaranteeing a more reusable design. The Bout pattern is documented in the Gang of Four pattern description template. The Bout pattern was tested with a Job Portal system with additional patterns, Factory Method, Decorator and Observer, with significant improvement in object oriented design metrics. Metrics which showed a significant enhancement were Depth of Inheritance Tree and McCabe Cyclomatic Complexity. The reusability of black box components was analyzed for the Job Portal system which shows a momentous rise in the metrics. The source code was analyzed for modularity traits such as size, complexity, cohesion and coupling, which in turn determines the class quality, package quality and hence the modularity index. These quality metrics showed a symbolic upswing with Bout pattern and supporting patterns. Thus software designers can enhance the quality of distributed systems with the exercising of Bout pattern.
- Published
- 2017
- Full Text
- View/download PDF
23. Historical Research Issues
- Author
-
Howell G. M. Edwards
- Subjects
History ,Work (electrical) ,Extant taxon ,Factory method pattern ,Comparative historical research ,Factory ,Competitor analysis ,China ,Visual arts - Abstract
The issues facing historical research into porcelain factories in the 19th Century and the problems facing Swansea and Nantgarw china works research: the absence of factory pattern books and work schedules for commissioned services is especially noteworthy for these two small factories in comparison with their larger contemporary competitors such as Worcester and Derby, where original records are still extant for consultation and study. The use of pattern numbers, absent for Nantgarw and sporadic for Swansea is discussed along with the presence of factory impressed and applied stencil and script marks, which especially for Nantgarw products were prone to mimicry and faking. Disputed attributions again illustrate the necessity for a holistic approach to vet and confirm genuine articles form spurious porcelain generated at other factories but bearing a Swansea or Nantgarw mark. The attribution of an artist to the decoration of ceramics has always been challenging and is no exception for these two factories and a list of artists who have been identified as working at Swansea and Nantgarw is provided.
- Published
- 2017
- Full Text
- View/download PDF
24. Coverage Driven Vip for Avalon Memory Mapped Interface Using UVM
- Author
-
Neeraj Kr. Shukla, Shilpi Birla, and Neetu Goel
- Subjects
Multidisciplinary ,Universal Verification Methodology ,business.industry ,Computer science ,Plug and play ,Embedded system ,Scalability ,Factory method pattern ,business ,Reusability - Abstract
Objectives: Implementation of Verification IP with randomized stimulus and coverage for Avalon Memory Mapped interface using Universal Verification Methodology (UVM). Methods/Statistical Analysis: The VIP is implemented using UVM. The unique feature of UVM is its reusability. All the UVM components are implemented to create the VIP for AValon Memory Mapped (AVMM) interface. The environment uses random stimuli to create different scenarios and improves coverage during regression. The coverage collection measures how much verification goal is achieved. Findings: The VIP created is unique and novel as it is flexible and scalable and allows user to modify according to the need. The factory pattern and phased test flow makes it versatile and reusable to plug and play in any SOC. The cover groups and coverage bins gives the report on what features has been covered and what needs to be exercised. The functional coverage achieved with implemented VIP is 91.6% Application/Improvements: AVMM interface is used to provide communicate between various components. The AVMM VIP can be used for verification in any SOC that uses AVMM interface. The random environment can be constrained to fill the coverage holes.
- Published
- 2016
- Full Text
- View/download PDF
25. The Factory Method
- Author
-
Kelt Dockins
- Subjects
Class (computer programming) ,TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES ,Abstract factory pattern ,Programming language ,Interface (Java) ,Computer science ,Factory method pattern ,Computer Science::Programming Languages ,computer.software_genre ,Object (computer science) ,computer ,Computer Science::Formal Languages and Automata Theory - Abstract
Define an interface for creating an object, but let subclasses decide which class to instantiate. The factory method lets a class defer instantiation to subclasses.
- Published
- 2016
- Full Text
- View/download PDF
26. Simple Factory Method
- Author
-
Kelt Dockins
- Subjects
Engineering drawing ,Simple (abstract algebra) ,Computer science ,Design pattern ,Software design pattern ,Factory method pattern ,Factory (object-oriented programming) - Abstract
The simple factory is not an design pattern you find in the original 90s Gang of Four design patterns book. Yet it is an extremely useful way to create objects—so useful that I made a chapter for it.
- Published
- 2016
- Full Text
- View/download PDF
27. Design Patterns’ Model for Application Development in Object Oriented Languages
- Author
-
Akshay Janardan Mendki and Gaurav Pradip Pande
- Subjects
Object-oriented programming ,Facade pattern ,Computer science ,Interaction design pattern ,business.industry ,Singleton pattern ,Software design pattern ,Factory method pattern ,Behavioral pattern ,Structural pattern ,Software engineering ,business - Abstract
Design patterns are one of the most efficient ways of application development. Many developers are still reluctant to the use of design patterns and development is carried out with not enough attention paid to the reusability and extensibility of the code. Patterns are not to be restricted in the building of integrated development environments and language libraries. Proposed work presents a model which use combination of multiple design patterns for application development in object oriented programming. The model suggested in this proposed work uses hierarchical abstraction of objects created using factory pattern. Facade pattern is also used which makes functional encapsulation possible. Proposed work also presents the scenarios in which use of patterns is likely to improve the code efficiency and reusability. Along with the factory pattern, singleton pattern may also to be used together in the proposed model for their respective benefits.
- Published
- 2016
- Full Text
- View/download PDF
28. Platform lndependent lntegrated Environment for Simulation and Real-Time Control Experiment
- Author
-
Kyushu Institute of Technology, Yano, Kentaro, Koga, Masanobu, Kyushu Institute of Technology, Yano, Kentaro, and Koga, Masanobu
- Abstract
type:Conference Paper, This paper presents the methods which make a design process of control system easy. The real-time control framework makes writing real-time control programs easy. The framework reduces the dependency on the platform, such as OS and hardware, by using not only C but also Java. Simulation programs are transformed into Java programs, and that can execute platform independent simulation. The idea of the object model is used for the transformation of the codes. Real-time control programs are generated from simulation program automatically. Factory method pattern is used for automatic generation of real-time control programs. We develop a platform independent integrated environment for the simulation and the real-time control using above methods. The integrated environment has the facility of remote control by using distributed objects, 2006 SICE-ICASE International Joint Conference, 18-21 Oct. 2006, Busan, South Korea, source:http://ieeexplore.ieee.org/document/4108865
- Published
- 2017
29. Neural Network Model and Design Patterns on Fuzzy Evaluation System of Special Electromechanical Equipment
- Author
-
Lin Xiang Shi and Jian Ping Ye
- Subjects
Engineering ,Time delay neural network ,business.industry ,Design pattern ,General Engineering ,Factory method pattern ,Control engineering ,computer.software_genre ,State pattern ,Data model ,Iterator pattern ,Strategy pattern ,Software design pattern ,Data mining ,business ,computer - Abstract
According to the physical characteristics and safety requirements, the evaluation levels of special electromechanical equipment were created. The five-layer neural network model was created according to the multi-layer neural network model. The first layer is input layer, the last layer is output layer, and the others are hidden layers. The software structure of evaluation system was designed, and the main class diagram was designed with UML. The relations among views, data model and dispatch controller were designed with MVC pattern. The factory method was used to instantiate view objects according to the object creation pattern. The ITERATOR pattern of structural pattern was used to find out view objects in the view object aggregation. The strategy pattern of behavior pattern was used to encapsulate different neural network algorithms.
- Published
- 2012
- Full Text
- View/download PDF
30. The development of a lean park homes production process using process flow and simulation methods
- Author
-
Dani Harmanto, Paul Forrester, Jose Arturo Garza-Reyes, Horacio Soriano-Meier, and Ilias Oraifige
- Subjects
Engineering ,business.industry ,Process (engineering) ,Strategy and Management ,media_common.quotation_subject ,Factory method pattern ,Industrial engineering ,Lean manufacturing ,Industrial and Manufacturing Engineering ,Manufacturing engineering ,Continuous production ,Computer Science Applications ,Control and Systems Engineering ,Factory (object-oriented programming) ,Production (economics) ,Quality (business) ,business ,Throughput (business) ,Software ,media_common - Abstract
PurposeContinuous process flow is a prerequisite of lean systems as it helps to reduce throughput times, improve quality, minimize operational costs, and shorten delivery times. The purpose of this paper is to empirically demonstrate the application of a methodology that combines a time‐based study, discrete‐event simulation and the trial and error method to enable a leaner process through more efficient line balancing and more effective flow for a park homes production process. This method is replicable across other contexts and industry settings.Design/methodology/approachThe paper reviews the UK park homes production industry and, specifically, a major factory that builds these homes. It compares the factory method to traditional on‐site construction methods. An empirical study of production times was carried out to collect data in order to analyse the current workload distribution and the process flow performance of the park homes production process. Finally, seven discrete‐event simulation models were developed in order to test different scenarios and define the optimum line balance for every section of the production process.FindingsBy combining time study, discrete‐event simulation and trial and error methods, the workload distribution and process flow performance of the park homes production line were analysed and improved. A reduction of between 1.82 and 36.32 percent in balancing losses in some sections of the process was achieved.Practical implicationsThis paper supports current knowledge on process flow improvement and line balancing by exploring and analysing these issues in a real‐life context. It can be used to guide production management practitioners in their selection of methods and demonstrates how they are exploited when seeking to improve process flow, efficiency and line balancing of production operations.Originality/valueThe study uses a real industrial application to demonstrate how the methodological combination and deployment of process flow improvement strategies, such as time study, simulation, and trial and error, can help organisations achieve process flow improvements and, as a consequence, a leaner production process.
- Published
- 2012
- Full Text
- View/download PDF
31. Creational design patterns in computational linguistics: Factory Method, Prototype, Singleton
- Author
-
A. A. Nykonenko
- Subjects
Structure (mathematical logic) ,General Computer Science ,Programming language ,Computer science ,Singleton ,Software design pattern ,Factory method pattern ,Software system ,Computational linguistics ,Creational pattern ,computer.software_genre ,computer - Abstract
The paper analyzes the use of creational patterns in solving computational linguistics problems. The Factory Method, Prototype, and Singleton patterns are considered in detail. The basic properties of patterns and the nature and characteristics of their use are reviewed, and the comparative analysis with other creational patterns is carried out. The structure of patterns and their possible applications in software systems to solve computational linguistics problems is considered separately. For each pattern, the conditions are presented under which its use is most appropriate.
- Published
- 2012
- Full Text
- View/download PDF
32. Creational Object-Oriented Design Pattern Applied to the Development of Software Tools for Electric Power Systems Dynamic Simulations
- Author
-
Walter Barra, Thiago D. Cordeiro, Í F Di Paolo, J A S Sena, O F Silva, Maria C. P. Fonseca, and José A.L. Barreiros
- Subjects
General Computer Science ,Computer science ,business.industry ,Factory method pattern ,Block diagram ,Object-oriented design ,Electric power system ,Power system simulation ,Software ,Computer engineering ,Dynamic demand ,Software design pattern ,Electrical and Electronic Engineering ,business - Abstract
The development of software for dynamic simulation of electrical power systems requires a comprehensive range of complex studies, which encompasses many areas of electrical engineering as well as software engineering. This study aims at to develop an efficient strategy applied to the development of software tools for dynamic power systems simulations studies. The proposed strategy is based on the object-oriented creational pattern. This approach has the advantage of makes easy the application development process, by performing a mapping between block diagram model representation and the corresponding specialized classes. Firstly, a conceptual mapping between block diagram and the object-oriented paradigm, based on the Factory Method, is carried out. After that, some flexible strategies are presented in order to obtain an improved efficiency for the numerical routines, based on the Builder standard. This allows for the parameterization of the selected numerical integration techniques. The proposed strategy was evaluated by using a 4-generator multi-machine power system. The simulation results shown that the proposed strategy was able to provides a good power system dynamic performance.
- Published
- 2010
- Full Text
- View/download PDF
33. Object construction and destruction design patterns in Fortran 2003
- Author
-
Xiaofeng Xu, Jim Xia, and Damian Rouson
- Subjects
Fortran 2003 ,Abstract factory pattern ,Theoretical computer science ,ForTrilinos ,Object pattern ,Fortran ,Computer science ,computer.software_genre ,Software ,Object-oriented ,Morfeus ,Leverage (statistics) ,Factory method ,General Environmental Science ,computer.programming_language ,Object-oriented programming ,business.industry ,Programming language ,Design pattern ,Factory method pattern ,Abstract factory ,Software design pattern ,General Earth and Planetary Sciences ,Trilinos ,business ,computer - Abstract
This paper presents object-oriented design patterns in the context of object construction and destruction. The examples leverage the newly supported object-oriented features of Fortran 2003. We describe from the client perspective two patterns articulated by Gamma et al. [1]: abstract factory and factory method. We also describe from the implementation perspective one new pattern: the object pattern. We apply the Gamma et al. patterns to solve a partial differential equation, and we discuss applying the new pattern to a quantum vortex dynamics code. Finally, we address consequences and describe the use of the patterns in two open-source software projects: ForTrilinos and Morfeus.
- Published
- 2010
- Full Text
- View/download PDF
34. Three-Tier Knowledge Management System Based on .NET
- Author
-
Jintao Zheng, Ping Shi, Xiaohui Li, and Mingxing Cai
- Subjects
System development ,Software portability ,Engineering ,Knowledge management ,business.industry ,Multitier architecture ,Systems engineering ,Factory method pattern ,Architecture ,business ,Encapsulation (networking) ,Reusability - Abstract
Three-tier knowledge management system based on .NET architecture is designed according to requirement specification, characteristics of and relationship between enterprise electronic archives and knowledge management. This system using three-tier design based on factory pattern has good encapsulation and portability, with clearer and more concise structure. It degrades the costs of system development and maintenance and upgrades system’s high reusability and development efficiency.
- Published
- 2009
- Full Text
- View/download PDF
35. TDD as an API Design Technique
- Author
-
Ervin Varga
- Subjects
Phrase ,Computer science ,Programming language ,Factory method pattern ,computer.software_genre ,computer - Abstract
TDD is usually associated with the phrase “Write tests first, and then implement.” However, this is a rather distorted and reduced view of TDD.
- Published
- 2016
- Full Text
- View/download PDF
36. Abstract Factory Patterns
- Author
-
Vaskaran Sarcar
- Subjects
Abstract factory pattern ,Interface (Java) ,Programming language ,Computer science ,Factory method pattern ,Naming convention ,computer.software_genre ,computer - Abstract
GoF Definition: Provides an interface for creating families of related or dependent objects without specifying their concrete classes.
- Published
- 2016
- Full Text
- View/download PDF
37. Design Patterns for Options Processing
- Author
-
Carlos Oliveira
- Subjects
Set (abstract data type) ,Work (electrical) ,Computer science ,business.industry ,Design pattern ,Software design pattern ,Factory method pattern ,Design elements and principles ,ComputerApplications_COMPUTERSINOTHERSYSTEMS ,Software engineering ,business - Abstract
Design patterns are a set of common programming design elements that can be used to simplify the solution of recurring problems. With the use of OO techniques, design patterns can be cleanly implemented as a set of classes that work toward the solution of a common goal. These designs can then be reused and shared across applications.
- Published
- 2016
- Full Text
- View/download PDF
38. Platform lndependent lntegrated Environment for Simulation and Real-Time Control Experiment
- Author
-
Yano, Kentaro and Koga, Masanobu
- Subjects
Distributed object ,Framework ,Real-Time control ,Factory Method pattern ,Object model - Abstract
This paper presents the methods which make a design process of control system easy. The real-time control framework makes writing real-time control programs easy. The framework reduces the dependency on the platform, such as OS and hardware, by using not only C but also Java. Simulation programs are transformed into Java programs, and that can execute platform independent simulation. The idea of the object model is used for the transformation of the codes. Real-time control programs are generated from simulation program automatically. Factory method pattern is used for automatic generation of real-time control programs. We develop a platform independent integrated environment for the simulation and the real-time control using above methods. The integrated environment has the facility of remote control by using distributed objects, 2006 SICE-ICASE International Joint Conference, 18-21 Oct. 2006, Busan, South Korea
- Published
- 2007
39. Ensuring Correct Implementation of the Factory Pattern
- Author
-
Seth H. Richards and Lawrence D. Spencer
- Subjects
Computer science ,Factory method pattern ,Manufacturing engineering - Published
- 2015
- Full Text
- View/download PDF
40. Development of a Production System by an Open Factory Method in a Fiber Dyeing Company
- Author
-
Masayuki Okada
- Subjects
Engineering ,business.industry ,Factory method pattern ,General Medicine ,A fibers ,Dyeing ,Process engineering ,business ,Production system - Published
- 2005
- Full Text
- View/download PDF
41. Defect frequency and design patterns: an empirical study of industrial code
- Author
-
M. Vokac
- Subjects
Object-oriented programming ,Source lines of code ,Programming language ,business.industry ,Computer science ,Design pattern ,Factory method pattern ,Software prototyping ,Software maintenance ,Reuse ,computer.software_genre ,Set (abstract data type) ,Software ,Software fault tolerance ,Software design pattern ,Code (cryptography) ,Arithmetic ,business ,computer ,Template method pattern - Abstract
Software "design patterns" seek to package proven solutions to design problems in a form that makes it possible to find, adapt, and reuse them. A common claim is that a design based on properly applied patterns will have fewer defects than more ad hoc solutions. This case study analyzes the weekly evolution and maintenance of a large commercial product (C++, 500,000 LOC) over three years, comparing defect rates for classes that participated in selected design patterns to the code at large. We found that there are significant differences in defect rates among the patterns, ranging from 63 percent to 154 percent of the average rate. We developed a new set of tools able to extract design pattern information at a rate of 3/spl times/10/sup 6/ lines of code per hour, with relatively high precision. Based on a qualitative analysis of the code and the nature of the patterns, we conclude that the Observer and Singleton patterns are correlated with larger code structures and, so, can serve as indicators of code that requires special attention. Conversely, code designed with the Factory pattern is more compact and possibly less closely coupled and, consequently, has lower defect numbers. The Template Method pattern was used in both simple and complex situations, leading to no clear tendency.
- Published
- 2004
- Full Text
- View/download PDF
42. DDG4 A Simulation Framework based on the DD4hep Detector Description Toolkit
- Author
-
Marko Petrič, Frank Gaede, Andre Sailer, Markus Frank, and Nikiforos Nikiforou
- Subjects
History ,business.industry ,computer.internet_protocol ,Computer science ,Detector ,Factory method pattern ,Usability ,Python (programming language) ,computer.software_genre ,Computer Science Applications ,Education ,Data-driven ,Computational science ,Computing and Computers ,Scripting language ,On demand ,business ,computer ,XML ,Simulation ,computer.programming_language - Abstract
The detector description is an essential component that has to be used to analyse and simulate data resulting from particle collisions in high energy physics experiments. Based on the DD4hep detector description toolkit a flexible and data driven simulation framework was designed using the Geant4 tool-kit. We present this framework and describe the guiding requirements and the architectural design, which was strongly driven by ease of use. The goal was, given an existing detector description, to simulate the detector response to particle collisions in high energy physics experiments with minimal effort, but not impose restrictions to support enhanced or improved behaviour.Starting from the ROOT based geometry implementation used by DD4hep an automatic conversion mechanism to Geant4 was developed. The physics response and the mechanism to input particle data from generators was highly formalized and can be instantiated on demand using known factory patterns. A palette of components to model the detector response is provided by default, but improved or more sophisticated components may easily be added using the factory pattern. Only the final configuration of the instantiated components has to be provided by end-users using either C++ or python scripting or an XML based description.
- Published
- 2015
43. Research Notes on the Architectural Evolution of a Software Product Line
- Author
-
Elder Rodrigues, Anderson R. P. Domingues, Avelino F. Zorzo, Flávio Moreira de Oliveira, and Marcelo Schmitt Laser
- Subjects
Development environment ,Engineering ,Product Line ,Computer Networks and Communications ,business.industry ,Architectural design ,Factory method pattern ,Context (language use) ,Computer Graphics and Computer-Aided Design ,Software testing ,Architectural pattern ,Artificial Intelligence ,Architectural evolution ,Systems engineering ,Architecture ,business ,Software engineering ,Software product line ,Software - Abstract
This work presents an experience report on the architectural decisions taken in the evolution of a Software Product Line (SPL) of Model-based Testing tools (PLeTs). This SPL was partially designed and developed with the intention of minimizing effort and time-to-market during the development of a family of performance testing tools. With the evolution of our research and the addition of new features to the SPL, we identified limitations in the initial architectural design of PLeTs’ components, which led us to redesign its Software Product Line Architecture (SPLA). In this paper, we discuss the main issues that led to changes in our SPLA, as well as present the design decisions that facilitate its evolution in the context of an industrial environment. We will also report our experiences on architecture modifications in the evolution of our SPL with the intention of allowing easier maintenance in a volatile development environment.
- Published
- 2015
44. A Design of Clustering Classification Systems using Satellite Remote Sensing Images Based on Design Patterns
- Author
-
Jin Il Kim and Dong Yeon Kim
- Subjects
ComputingMethodologies_PATTERNRECOGNITION ,Computer science ,Strategy pattern ,Software design pattern ,Factory method pattern ,Satellite ,Data mining ,computer.software_genre ,Cluster analysis ,Sample (graphics) ,Fuzzy logic ,computer ,Multispectral pattern recognition - Abstract
In this paper, we have designed and implemented cluttering classification systems- unsupervised classifiers-for the processing of satellite remote sensing images. Implemented systems adopt various design patterns which include a factory pattern and a strategy pattern to support various satellite images`formats and to design compatible systems. The clustering systems consist of sequential clustering, K-Means clustering, ISODATA clustering and Fuzzy C-Means clustering classifiers. The systems are tested by using a Landsat TM satellite image for the classification input. As results, these clustering systems are well designed to extract sample data for the classification of satellite images of which there is no previous knowledge. The systems can be provided with real-time base clustering tools, compatibilities and components` reusabilities as well.
- Published
- 2002
- Full Text
- View/download PDF
45. Abstract Factory Pattern
- Author
-
Adam Freeman
- Subjects
Engineering drawing ,Abstract factory pattern ,Computer science ,Group (periodic table) ,Component (UML) ,Factory method pattern ,Table (database) ,Drivetrain ,Context (language use) - Abstract
In this chapter, I describe the abstract factory pattern. This pattern is similar to the factory method pattern that I described in Chapter 9 but allows a calling component to obtain a family or group of related objects without needing to know which classes were used to create them. Table 10-1 puts the abstract factory pattern in context.
- Published
- 2014
- Full Text
- View/download PDF
46. The Factory Method Pattern
- Author
-
Adam Freeman
- Subjects
Base class ,Computer science ,Programming language ,Global function ,Factory method pattern ,Table (database) ,Context (language use) ,Decision table ,computer.software_genre ,Protocol (object-oriented programming) ,computer - Abstract
The factory method pattern is used when there is a choice to be made between classes that implement a common protocol or share a common base class. This pattern allows implementation subclasses to provide specializations without requiring the components that rely on them to know any details of those classes and how they relate to each other. Table 9-1 puts the factory method into context.
- Published
- 2014
- Full Text
- View/download PDF
47. Dynamic Factory - New Possibilities For Factory Design Pattern
- Author
-
Dawid R. Ireno
- Subjects
Engineering ,business.industry ,Factory method pattern ,Factory (object-oriented programming) ,business ,Manufacturing engineering - Published
- 2014
- Full Text
- View/download PDF
48. Design patterns for integration between enterprise application with any business process management systems
- Author
-
Saranya Maneeroj and Wittakarn Keeratichayakorn
- Subjects
Database ,business.industry ,Computer science ,Business process ,Design pattern ,Factory method pattern ,computer.software_genre ,Object-oriented design ,Business process management ,Software design pattern ,Decorator pattern ,business ,Software engineering ,computer ,Enterprise software - Abstract
Most of existing Business process management (BPM) technologies have their own graphical user interfaces (GUIs), whereas users in different organizations who involved in business processes are more likely to work with a different set of GUIs. Consequently, developers have to build the specific set of GUIs in enterprise application which is appropriate for each business process, and they use BPM API to create communication between the enterprise application and BPM. However, different BPM vendors have different APIs integrated into the system. When developers need to change BPM vendor for corresponding to existing resources and devices of a new customer, the developers have to rewrite codes to interact with such new API every time. Thus a framework that is easy to plug into further enterprise application for connecting to any BPM systems and reusable is necessary. Design patterns idea is applied in object oriented design principle in order to provide an efficient way in creating more reusable software. In this paper, a new framework for enterprise application is created by applying three types of design pattern which are Bridge pattern, Decorator pattern and Factory pattern. This framework aims to be reusability, flexibility and maintainability in order to easily support BPM vendor changing.
- Published
- 2014
- Full Text
- View/download PDF
49. Design Patterns: Creational
- Author
-
Den Odell
- Subjects
Computer science ,business.industry ,Design pattern ,Prototype pattern ,Factory method pattern ,JavaScript ,Work (electrical) ,Software design pattern ,Code (cryptography) ,Architecture ,Software engineering ,business ,computer ,computer.programming_language - Abstract
In this and the following three chapters, I’m going to explain the priniples of design patterns and code architecture pattern for large-scale JavaScript applications that will keep your code sensibly organized and easy to understand, making the job of maintaining and adding to your code a lot simpler. By implementing one or more of the patterns and techniques found in these chapters, you’ll find much of your code files look, at a glance, very similar to each other, which breeds instant familiarity for a number of developers working together on the same project. In fact, if you choose to adopt any of these techniques across multiple projects, you’ll likely find the same patterns and architecture idioms work across them all, making it easier to get new developers up to speed on different projects and freeing up those developers to concentrate on writing excellent code.
- Published
- 2014
- Full Text
- View/download PDF
50. Multi-Resolution Traffic Simulation Modeling Based on Object-Oriented Design Pattern by UML
- Author
-
Keping Li, Liyan Zhang, Jian Ma, and Congkun Zhu
- Subjects
Engineering ,business.industry ,Event (computing) ,Real-time computing ,Factory method pattern ,Traffic simulation ,Data structure ,Object-oriented design ,Unified Modeling Language ,Computer architecture ,Strategy pattern ,Scalability ,business ,computer ,computer.programming_language - Abstract
This paper introduces the Model-View-Controller (MVC) pattern, Factory Method Pattern (FMP), and Strategy Pattern (SP) into hybrid traffic simulation modeling based on Multi-Resolution Modeling (MRM). It designs the framework of the Traffic Multi-Resolution Simulation System (TMRSS) using MRM theory and develops the architecture of TMRSS based on the MVC pattern. In addition, it founds the data structure models of TMRSS, which include route, segment, and event structures. They are implemented by the FMP and SP, respectively. Furthermore, the paper presents three patterns to implement structures of data and logic, which include framework design, architecture design, and data structure design in TMRSS. Finally, a case is exemplified to prove that the architecture and structures are available, suitable, and scalable in TMRSS.
- Published
- 2013
- Full Text
- View/download PDF
Catalog
Discovery Service for Jio Institute Digital Library
For full access to our library's resources, please sign in.