• Title/Summary/Keyword: Object Oriented Program

Search Result 253, Processing Time 0.026 seconds

A Efficient Debugging Method for Java Programs (자바 프로그램을 위한 효율적인 디버깅 방법)

  • 고훈준;유원희
    • Proceedings of the Korea Society for Industrial Systems Conference
    • /
    • 2002.06a
    • /
    • pp.170-176
    • /
    • 2002
  • Java language is a representative object-oriented language that is used at the various platform and fields. A structure of java language is simpler than traditional procedural-oriented language because of characters of object-oriented language But it is difficult to debug complicated java programs. Debugging has always been a costly part of software development. Syntax errors of java programs is easily found by the current debugging system. But it is difficult to locate logical errors included in java programs. Traditional debugging techniques locating logical errors in java program have been still used with conventional methods that are used at procedural-oriented languages. Unfortunately, these traditional methods are often inadequate for the task of isolating specific program errors. Debugger users may spend considerable time debugging code of program development with sequential methods according as program size is large and is complicated. It is important to easily locate errors included in java program in the software development. In this paper, we apply algorithmic debugging method that debugger user can easily debug programs to java program. This method executes a program and makes an execution tree from calling relation of functions. And it locates errors at the execution tree. So, Algorithmic debugging method can reduce the number of debugging than conventional sequential method.

  • PDF

Class Slicing Method using Program Dependency Graph in C++ (C++에서 프로그램 의존도 그래프를 이용한 클래스 분해 방법)

  • 김영선;김홍진;손용식
    • Journal of the Korea Society of Computer and Information
    • /
    • v.3 no.1
    • /
    • pp.63-80
    • /
    • 1998
  • In object-oriented software development, reuse has been studied for the enhancement of software quality and software developer's productivity. But improper modeling in design phase and uncontrolled change during maintenance activities have a problem to reuse a class. In this paper we analyze a semantic cohesion of classes using C++ Program dependency graph, and slice a class with cohesion, so that this method supports the re-estimate of class quality and the extensibility of class. Therefore this proposed method in this paper increases the easibility of the restructuring in the reusable systems, when the developer selects a requested component for a object-oriented program development.

  • PDF

Development of Load Flow simulator for the Educational Program using GUI (GUI기법을 이용한 Load Flow 교육용 시뮬레이터 개발)

  • Moon, Jeong-Hwan;Kim, Young-Yong;Jang, Se-Hwan;Ryu, Seung-Oh;Park, June-Ho
    • Proceedings of the KIEE Conference
    • /
    • 2007.11b
    • /
    • pp.72-74
    • /
    • 2007
  • This paper presents a Windows graphic developed by the authors for the education and training of power system. Object-oriented programming is a major trend in computer software because it increases flexibility of large-scale software systems. An efficient platform for power system simulation applications has been proposed. This paper presents an intuitive Windows-based program for the power system analysis. The advantages of the object-oriented approach are demonstrated with an implementation of the graphical program. It provides a graphical interface for designing the one-line diagram of the bus and analyzing the output of the simulations. A graphical editor to visually edit the power system, diagram, results processing and exporting and graphic presentations.

  • PDF

Design and Implementation of Visual Environment for Parallel Object-Oriented Programming (병렬 객체지향 프로그래밍을 위한 시각 환경의 설계 및 구현)

  • Choe, Suk-Yeong
    • The Transactions of the Korea Information Processing Society
    • /
    • v.6 no.2
    • /
    • pp.485-496
    • /
    • 1999
  • Comparing with sequential programming, parallel programming has additional complexity due to the consideration of parallelism, communication and synchronization of processes. A synergism between users and compliers should be established, each assisting the other to produce high quality parallel programs. On the above underlying philosophy, we developed a parallel Object-Oriented specification language, POOSL, as preliminary works. However, it is still likely to hard for users to write parallel program because users have to consider grammar of POOSL and to write text-based parallel program. It would be more desirable to provide users wit visual environment for effective parallel programming. Therefore, we propose a visual programming environment. VEPO(Visual environment for Parallel Object-Oriented Programming), based on POOSL in order that users can develop parallel programs more easily and conveniently. It aims at supporting a programming environment in which users can represent their programs more naturally and visually I parallel manner with object-oriented concept and essential steps during parallel program development such as program specification, compilation, execution and animation of execution are integrated. VEPO has useful features for parallel processing. Especially, complicated parallel codes for synchronization and communication of processes are automatically generated in the translation phase, so users can be relieved of writing error-prone parallel codes. The system is targeted to the transputer-based parallel system, MC-3. The graphic user interface of VEPO was implemented using Visual C++. Visual programs descirbed on VEPO are translated into Inmos C and executed on MC-3.

  • PDF

Improving Cohesion Metrics for Classes By Considering Dependent Instance Variables (의존 인스턴스 변수를 고려한 클래스 응집도 척도의 개선)

  • Chae Heung Seok;Kwon Yong Rae;Bae Doo Hwan
    • Journal of KIISE:Software and Applications
    • /
    • v.31 no.9
    • /
    • pp.1131-1141
    • /
    • 2004
  • Cohesion refers to the degree of the relatedness of the elements in a module, and it is widely accepted that the module of higher cohesion is easier to understand, maintain, and reuse. Recently, several cohesion metrics have been proposed to measure the cohesiveness of classes in an object-oriented program. However, the existing cohesion metrics do not consider the characteristics of dependent instance variables that are commonly used in a class and, thus, do not properly reflect the cohesiveness of the class. This paper presents an approach for improving the cohesion metrics by considering the characteristics of the dependent instance variables in an object-oriented program. To demonstrate the importance of the dependent instance variables, a case study has been conducted on a class library.

An Object-Oriented Programming for the Boundary Element Method in Plane Elastostatic Contact Analysis (객체지향기법을 적용한 평면 정적 탄성 접촉 경계요소법)

  • Kim, Moon-Kyum;Yun, Ik-Jung
    • Journal of the Computational Structural Engineering Institute of Korea
    • /
    • v.24 no.2
    • /
    • pp.121-131
    • /
    • 2011
  • An object oriented programming(OOP) framework is presented to solve plane elastostatic contact problems by means of the boundary element method(BEM). Unified modeling language(UML) is chosen to describe the structure of the program without loss of generality, even though all implemented codes are written with C++. The implementation is based on computational abstractions of both mathematical and physical concepts associated with contact mechanics involving geometrical nonlinearities and the corner node problems for multi-valued traction. The overall class organization for contact analysis is discussed in detail. Numerical examples are also presented to verify the accuracy of the developed BEM program.

An Object-Oriented Model for Gasoline Engine and Automatic Transmission Systems (가솔린 엔진/자동변속기 시스템의 객체지향형 모델)

  • 양경진;홍금식;이교일
    • Journal of Institute of Control, Robotics and Systems
    • /
    • v.4 no.4
    • /
    • pp.534-542
    • /
    • 1998
  • In this paper a simulation model for the powertrain control of gasoline engines with automatic transmission is presented. A modular programming approach has been pursued and the MATLAB/SIMULINK has been utilized as the programming environment. The engine/transmission system is analyzed in the object-oriented fashion whereby easy transferal of the modules, which represent physical parts or analysis subsystems, is guaranteed. Some mathematical models are adopted from the literature to compare the simulation results with the model and the experimental results in the literature. It is expected that the whole program or individual module constructed in this paper are useful for the automotive engineers in designing a new engine/transmission system and/or in modifying parts of existing systems.

  • PDF

A Study on an Engine Control System using an Object Oriented Programming Method (객체지향 프로그래밍 기법을 이용한 엔진제어시스템에 관한 연구)

  • 윤팔주;이상준;선우명호
    • Transactions of the Korean Society of Automotive Engineers
    • /
    • v.8 no.3
    • /
    • pp.98-109
    • /
    • 2000
  • A new PC-based Engine Control system (ECS) is developed using an object oriented programming method. This system provides more convenient environment for engine tests, easier user interface and extended functions. A Windows-based ECS software is developed with class, and the class structure is built on encapsulation and abstraction. The closed-loop engine control scheme can be easily constructed by using dynamic link library and multitasking. This means that a user can perform desired experiments without clear knowledge of the hardware structure of the ECS. Also this system allows a user to individually control the ignition and fuel injection for each cylinder in a simple manner such as through a keyboard/mouse or in a real-time operation from a closed-loop control program.

  • PDF

Modeling for Measurement of Class Reusability in Object-Oriented Programs (객체 지향 프로그램에서 클래스 재사용성 측정 모델링)

  • Yun, Hui-Hwan;Gu, Yeon-Seol
    • The Transactions of the Korea Information Processing Society
    • /
    • v.6 no.3
    • /
    • pp.580-588
    • /
    • 1999
  • The reuse of software components from existing software system enhances productivity and reliability, decreases the cost of production in software development. The extraction of software components with high reusability from existing software system is very important in software reuse. The reuse of a class is classified into white-box reuse to reuse with modification and black-box reuse to reuse without modification. A class has the property of procedural language and object-oriented language. Therefore, it must measure reusability in consideration of two properties. In black-box reuse, independence of class is important quality. It can quantify through information hiding, coupling between objects, cohesion, etc. In white-box reuse, modification is the best important quality. It can quality through class complexity, coupling, cohesion, documentation, etc. We propose a new model for measurement of class reusability and the measure criteria in object-oriented program. A class that is measured by proposed model can judge whether the reuse with modification has the advantage or the reuse without modification has the advantage.

  • PDF