• 제목/요약/키워드: Code reused

Search Result 15, Processing Time 0.023 seconds

Design and Implementation of the Survival Game API Using Dependency Injection (의존성 주입을 활용한 서바이벌 게임 API 설계 및 구현)

  • InKyu Park;GyooSeok Choi
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.23 no.4
    • /
    • pp.183-188
    • /
    • 2023
  • Game object inheritance and multiple components allow for visualization of system architecture, good code reuse, and fast prototyping. On the other hand, objects are more likely to rely on high latency between game objects and components, static casts, and lots of references to things like null pointers. Therefore, It is important to design a game in such a way so that the dependency of objects on multiple classes could be reduced and existing codes could be reused. Therefore, we designed the game to make the classes more modular by applying Dependency Injection and the design patterns proposed by the Gang of Four. Since these dependencies are attributes of the game object and the injection occurs only in the initialization pass, there is little performance degradation or performance penalty in the game loop. Therefore, this paper proposed an efficient design method to effectively reuse APIs in the design and implementation of survival games.

Three-dimensional Texture Coordinate Coding Using Texture Image Rearrangement (텍스처 영상 재배열을 이용한 삼차원 텍스처 좌표 부호화)

  • Kim, Sung-Yeol;Ho, Yo-Sung
    • Journal of the Institute of Electronics Engineers of Korea SP
    • /
    • v.43 no.6 s.312
    • /
    • pp.36-45
    • /
    • 2006
  • Three-dimensional (3-D) texture coordinates mean the position information of torture segments that are mapped into polygons in a 3-D mesh model. In order to compress texture coordinates, previous works reused the same linear predictor that had already been employed to code geometry data. However, the previous approaches could not carry out linear prediction efficiently since texture coordinates were discontinuous along a coding order. Especially, discontinuities of texture coordinates became more serious in the 3-D mesh model including a non-atlas texture. In this paper, we propose a new scheme to code 3-D texture coordinates using as a texture image rearrangement. The proposed coding scheme first extracts texture segments from a texture. Then, we rearrange the texture segments consecutively along the coding order, and apply a linear prediction to compress texture coordinates. Since the proposed scheme minimizes discontinuities of texture coordinates, we can improve coding efficiency of texture coordinates. Experiment results show that the proposed scheme outperforms the MPEG-4 3DMC standard in terms of coding efficiency.

Legislation Cases, Management Policies and Countermeasures on Scientific Data -Focusing Australia, the United States and China- (과학데이터에 관한 입법례와 관리정책 그리고 대응방안 -호주, 미국, 중국을 중심으로-)

  • Yoon, Chong-Min;Kim, Kyubin
    • Journal of Korea Technology Innovation Society
    • /
    • v.16 no.1
    • /
    • pp.63-100
    • /
    • 2013
  • Research data means data in the form of facts, observations, images, computer program results, recordings, measurements or experiences on which an argument, theory, test or hypothesis, or another research output is based. Data may be numerical, descriptive, visual or tactile. Scientific research is changing because of the paradigm shift. It is all being affected by the data deluge, and a data-intensive science paradigm is emerging. Hence, paradigm shift in scientific research led to increase of value and importance of scientific data. Essential to the creative research and development for scientific data can be reused efficiently is the sharing and utilization of establishing management system. Establishing of management system for sharing and utilization of scientific data should be done at the national level, but compared with Europe, Australia, the United States, China, the management system of Korea doesn't have not linkage or efficiency or internal stability. Australia, the United States, China continues to expand a Mid- and Long-Term policy making, legislation, its investment in infrastructure, so as to promote the utilization of data, such as collection, management and maintenance of scientific data through the relevant agencies at the national level. This study consider legislation cases and management policies of the above countries to the end to that establish management system for the efficient and fair sharing and utilization of scientific data and the legal system, and that provide scientific data legislation and policies related to the future of our country.

  • PDF

An Experiment in Refactoring an Object-Oriented CASE Tool (객체 지향 CASE 도구에 대한 재구조화 실험)

  • Jo, Jang-U;Kim, Tae-Gyun
    • The Transactions of the Korea Information Processing Society
    • /
    • v.6 no.4
    • /
    • pp.932-940
    • /
    • 1999
  • Object-oriented programming is often touted as promoting software reuse. However it is recognized that objected-oriented software often need to be restructured before it can be reused. refactoring is the process that changes the software structure to make it more reusable, easier to maintain and easire to be enhanced wit new functionalities. This paper desirbes experience gained and lessons learned from restructuring OODesigner, a Computer Aided Software Engineering(CASE) tool that supports Objects Modeling Technique(OMT). this tool supports a wide range of features such as constructing object modeler of OMT, managing information repository, documenting class resources, automatical generating C++ and java code, reverse engineering of C++ and Java cod, searching and reusing classes in the corresponding repository and collecting metrics data. although the version 1.x was developed using OMT(i.e the tool has been designed using OMT) and C++, we recognized that the potential maintenance problem originated from the ill-designed class architecture. Thus this version was totally restructured, resulting in a new version that is easier to maintain than the old version. In this paper, we briefly describe its restructuring process, emphasizing the fact that the Refactoring of the tool is conducted using the tool itself. Then we discuss lessons learned from these processes and we exhibit some comparative measurements of the developed version.

  • PDF

A Basic Study on the Radiological Characteristics and Disposal Methods of NORM Wastes (공정부산물의 방사선적 특성과 처분방안에 관한 기본 연구)

  • Jeong, Jongtae;Baik, Min-Hoon;Park, Chung-Kyun;Park, Tae-Jin;Ko, Nak-Youl;Yoon, Ki Hoon
    • Journal of Nuclear Fuel Cycle and Waste Technology(JNFCWT)
    • /
    • v.12 no.3
    • /
    • pp.217-233
    • /
    • 2014
  • Securing the radiological safety is a prerequisite for the safe management of the naturally occurring radioactive materials (NORM) which cannot be reused. This becomes a crucial focus of our R&D efforts upon the implementation of the Act on Protective Action Guidelines against Radiation in the Natural Environment. To secure the safety, the establishment of technical bases and procedures for securing radiological safety related to the disposal of NORM is required. Thus, it is necessary to analyze the characteristics, to collect the data, to have the radiological safety assessment methodologies and tools, to investigate disposal methods and facilities, and to study the effects of the input data on the safety for the NORM wastes. Here, we assess the environmental impact of the NORM waste disposal with respect to the major domestic and foreign NORM characteristics. The data associated with major industries are collected/analyzed and the status of disposal facilities and methodologies relevant to the NORM wastes is investigated. We also suggest the conceptual design concept of a landfill disposal facility and the management plan with respect to the major NORM wastes characteristics. The radionuclide pathways are identified for the atmospheric transport and leachate release and the environmental impact assessment methodology for the NORM waste disposal is established using a relevant code. The assessment and analysis on the exposure doses and excessive cancer risks for the NORM waste disposal are performed using the characteristics of the representative domestic NORM wastes including flying ash, phosphor gypsum, and redmud. The results show that the exposure dose and the excessive cancer risks are very low to consider any radiation effects. This study will contribute to development in the areas of the regulatory technology for securing radiological safety relevant to NORM waste disposal and to the implementation technology for the Act.