• Title/Summary/Keyword: Dependency Injection

Search Result 35, Processing Time 0.027 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.

Reduction of a Numerical Grid Dependency in High-pressure Diesel Injection Simulation Using the Lagrangian-Eulerian CFD Method (Lagrangian-Eulerian 기법을 이용한 고압 디젤 분무 시뮬레이션의 수치해석격자 의존성 저감에 관한 연구)

  • Kim, Sa-Yop;Oh, Yun-Jung;Park, Sung-Wook;Lee, Chang-Sik
    • Transactions of the Korean Society of Automotive Engineers
    • /
    • v.20 no.1
    • /
    • pp.39-45
    • /
    • 2012
  • In the standard CFD code, Lagrangian-Eulerian method is very popular to simulate the liquid spray penetrating into gaseous phase. Though this method can give a simple solution and low computational cost, it have been reported that the Lagrangian spray models have numerical grid dependency, resulting in serious numerical errors. Many researches have shown the grid dependency arise from two sources. The first is due to unaccurate prediction of the droplet-gas relative velocity, and the second is that the probability of binary droplet collision is dependent on the grid resolution. In order to solve the grid dependency problem, the improved spray models are implemented in the KIVA-3V code in this study. For reducing the errors in predicting the relative velocity, the momentum gain from the gaseous phase to liquid particles were resolved according to the gas-jet theory. In addition, the advanced algorithm of the droplet collision modeling which surmounts the grid dependency problem was applied. Then, in order to validate the improved spray model, the computation is compared to the experimental results. By simultaneously regarding the momentum coupling and the droplet collision modeling, successful reduction of the numerical grid dependency could be accomplished in the simulation of the high-pressure injection diesel spray.

A Study on Home Nursing Care Requirement and Activities of Daily Life Among the Elderly at Home (재가노인의 가정간호요구도 및 일상생활능력에 관한 연구)

  • 조선화;김병성;김공현;박형종
    • Korean Journal of Health Education and Promotion
    • /
    • v.11 no.2
    • /
    • pp.125-145
    • /
    • 1994
  • The objectives of this study were to characterize the health status, the requirement of home nursing care, and dependency of daily life of the elderly so that the result could be used to provide basic data necessary for establishing home nursing care practices. The study subjects were 249 elders over 65 years old who resided at home in low income areas of three districts in Pusan. The field survey was conducted from December 27, 1993 through January 27, 1994, with a structured questionnaire. Statistical analysis was done by X²-test and Student's T-test using SPSS/PC/sup +/ program. The result were as follows; 1. Alcohol drinking rate was 50.0% for men and 27.7% for women, and cigarette smoking rate was 77.8% for men and 27.1% for women. 92.9% of elders aged 65-75 exercised regularly as compared to 81.9% of elders aged 75 and over(p<0.05). 2. 63.9% of male and 85.9% of female elders had chronic diseases showing singnificant differences(p<0.01), and both sexes had 1.7 kinds of chronic diseases in average; musculoskeletal diseases were the most common in 25.7%, while 6.8% of the elderly had cardiovascular diseases. 3. Partially movable elderly was 6.9% for men and 6.8% for woman, showing 47.1% of causes being cerebrovascular accidents. 4. The home nursing requirement was the highest for medication(66.3%), intramuscular injection(53.8%), and measurement of blood pressure·body·temperature·pulse rate(47.0%). 5. Among Physical Activities of Daily Life, bathing(10.4%) and movement(4.0%) showed high dependency rates, and among Instrumental Activities of Daily Life, phone calling(25.3%), shopping(24.5%), going out by bus(22.5%) showed high dependency rates. 6. For five categories of home nursing showing high requirements such as physical health examination, blood pressure·temperature·pulas rate measurements, medication, and intravascular injection, the requirements were different by age groups, education, and marital status(p<0.05).

  • PDF

A binder system for low carbon residue and debinding behaviors in injection molding of NdFeB powder (NbFeB 분말사출성형에소 저잔류탄소를 위한 결합제 및 탈지거동)

  • 최준환
    • Journal of Powder Materials
    • /
    • v.6 no.2
    • /
    • pp.132-138
    • /
    • 1999
  • A new binder system and debinding process for low carbon residue in the injection molding of Nd(Fe, Co)B powder are investigated. In the injection molding of magnetic materials, it is demanded to reduce carbon residue which deteriorates their magnetic properties. The binder system developed is composed of polyethylene glycols (PEGs) and polypropylene (PP). PEG was selected as a major binder is component to be extracted in a molecular state by solvent extraction in ethanol, which step would leave no residue. PP was selected as a minor binder component to be subsequently removed by thermolysis which step would leave carbon residue. The behaviors of solvent extraction with the variations of PEG molecular weight, temperature, and time were examined. The dependency of residual carbon content on thermolysis atmosphere was also studied. Opened pore channels introduced in a green body by the solvent extraction and microstructures of the sintered magnets were observed using SEM.

  • PDF

Benefits of Palliative Office-Based Hyaluronic Acid Injection Laryngoplasty in Cancer-Related Unilateral Vocal Cord Paralysis Patients (악성 종양 관련 일측성 성대 마비 환자에서 고식적 Hyaluronic Acid 성대 주입 성형술의 유용성)

  • Kim, Go-Woon;Park, Young-Hak;Joo, Young-Hoon;Kim, Sang-Yeon;Shim, Mi-Ran;Hwang, Yeon-Sin;Sun, Dong-Il
    • Journal of the Korean Society of Laryngology, Phoniatrics and Logopedics
    • /
    • v.29 no.1
    • /
    • pp.30-36
    • /
    • 2018
  • Background and Objectives : The effect of palliative injection laryngoplasty in cancer-related unilateral vocal cord paralysis patients on voice and swallowing function is uncertain and there are few previous studies of its suitability, benefits as a palliative treatment option. The purpose of this study is to confirm the objective results of voice and swallowing function after palliative office-based hyaluronic acid injection laryngoplasty in cancer-related unilateral vocal cord paralysis patients. Materials and Method : 36 patients who had unilateral vocal cord paralysis from non-thyroidal, extralaryngeal neoplasms were included in this study. To evaluate the clinical outcome, we analyzed perceptual GRBAS grading, acoustic analysis, aerodynamic study, Electroglottography (EGG), Voice Handicap Index (VHI-30) about voice function and disability rating scale (DRS), gastric tube dependency, aspiration pneumonia about swallowing function and 36-Item Short Form Survey version 2 (SF-36v2) about quality of life. Results : In GRBAS scale, G (p<0.001), R (p=0.004), B (p=0.001), A (p=0.011), and S (p=0.007) showed significant improvement. Jitter, shimmer, speaking fundamental frequency, maximal phonation time, VHI-30, DRS score, gastric tube dependency, aspiration pneumonia, and SF-36v2 were significantly improved after injection (p=0.016, p=0.011, p=0.045, p=0.005, p<0.001, p<0.001 p=0.003, p<0.001, and p<0.001 respectively). Conclusion : From this study we concluded office-based hyaluronic acid injection can be used as a useful palliative treatment option in cancer-related ill patients with unilateral vocal cord paralysis. Palliative hyaluronic acid injection laryngoplasty avoids the need for tube feeding, thus reducing the risk of aspiration pneumonia. These outcomes are accompanied by significant improvement in voice quality.

Administration Route Dependency of Distribution of Distribution pf PEGylated Recombinant Human Tumor Necrosis Factor Binding Protein (rhTNFbp-PEG20K dimer) following i.v. and s.c. Injection

  • Kim, Dong-Chool;Duane C. Bloedow
    • Archives of Pharmacal Research
    • /
    • v.17 no.5
    • /
    • pp.381-382
    • /
    • 1994
  • Administration route dependency on the distribution of PEGylated recombinant human turor necrosis factor binding protein (rhTNFbp-PEG20K dimer) was observed following a subcutaneous (sc) and an intravenous (iv) administrationin rats. ehTNFbp-PEG20K dimer is composed of two rhTNGbp molecules (molecular weight 18, 278 daltons each) joined by polyethylene glycol 2000(PEG30K). The steady state distribution volume of rhTNFbp-PEG20K was 55 m/kg and 359 ml/kg following the i.v. and s.c. administrations, respectively. These results suggest that the distribution of ehTNFbp-PEG20K is limited within the cpillary space after i.v. administration, while rhTNFbp-PEG20K can distribute into a space (35.9% of body weight) which is between extracellylar space and total body water. A lymphatic absorption may paly a role in the distribution of rhTNFbp-PEF20K dimer following the sc administration. The present study suggests that the administration route of a lartge protein molecule should be determined depedning upon target sites.

  • PDF

Investigation of Device Characteristics on the Mechanical Film Stress of Contact Etch Stop Layer in Nano-Scale CMOSFET (Nano-Scale CMOSFET에서 Contact Etch Stop Layer의 Mechanical Film Stress에 대한 소자특성 분석)

  • Na, Min-Ki;Han, In-Shik;Choi, Won-Ho;Kwon, Hyuk-Min;Ji, Hee-Hwan;Park, Sung-Hyung;Lee, Ga-Won;Lee, Hi-Deok
    • Journal of the Institute of Electronics Engineers of Korea SD
    • /
    • v.45 no.4
    • /
    • pp.57-63
    • /
    • 2008
  • In this paper, the dependence of MOSFET performance on the channel stress is characterized in depth. The tensile and compressive stresses are applied to CMOSFET using a nitride film which is used for the contact etch stop layer (CESL). Drain current of NMOS and PMOS is increased by inducing tensile and compressive stress, respectively, due to the increased mobility as well known. In case of NMOS with tensile stress, both decrease of the back scattering ratio ($\tau_{sat}$) and increase of the thermal injection velocity ($V_{inj}$) contribute the increase of mobility. It is also shown that the decrease of the $\tau_{sat}$ is due to the decrease of the mean free path ($\lambda_O$). On the other hand, the mobility improvement of PMOS with compressive stress is analyzed to be only due to the so increased $V_{inj}$ because the back scattering ratio is increased by the compressive stress. Therefore it was confirmed that the device performance has a strong dependency on the channel back scattering of the inversion layer and thermal injection velocity at the source side and NMOS and PMOS have different dependency on them.

Evaluation of IC Electromagnetic Conducted Immunity Test Methods Based on the Frequency Dependency of Noise Injection Path (Noise Injection Path의 주파수 특성을 고려한 IC의 전자파 전도내성 시험 방법에 관한 연구)

  • Kwak, SangKeun;Kim, SoYoung
    • The Journal of Korean Institute of Electromagnetic Engineering and Science
    • /
    • v.24 no.4
    • /
    • pp.436-447
    • /
    • 2013
  • In this paper, Integrated circuit(IC) electromagnetic(EM) conducted immunity measurement and simulation using bulk current injection(BCI) and direct power injection(DPI) methods were conducted for 1.8 V I/O buffers. Using the equivalent circuit models developed for IC electromagnetic conducted immunity tests, we investigated the reliability of the frequency region where IC electromagnetic conducted immunity test is performed. The insertion loss for the noise injection path obtained from the simulation indicates that using only one conducted immunity test method cannot provide reliable conducted immunity test for broadband noise. Based on the forward power results, we analyzed the actual amount of EM noise injected to IC. We propose a more reliable immunity test methods for broad band noise.

An Experimental Study on the Spray Characteristics of Deflector Nozzle (충돌형 노즐의 분무특성에 관한 실험적 연구)

  • Kim K. H.;Choi Y. H.;Yoon S. J.
    • Proceedings of the KSME Conference
    • /
    • 2002.08a
    • /
    • pp.291-294
    • /
    • 2002
  • This study describes the external spray characteristics of deflector nozzle such as the breakup procedures of liquid sheet, spray angle, discharge coefficient and bubble behaviors of spray and SMD at deflector nozzle. In order to visualize the spray behaviors shadow graphy technique were used. According to the increase of injection pressure, development of the spray passes through the dribbling, distoted jet, closed bubble due to the contraction by surface tension forces, the bubble opens into hollow tulip shape, and the curved surface straightened to form a conical sheet like as the simplex swirl atomizer. Spray cone angle was nearly 90 deg. Variations of SMD were examined in order to describe the dependency of SMD on the injection pressure and orifice diameter. The shape of deflector and oriffice diameter had an effect on the discharge coefficient.

  • PDF

CO Two-photon Laser Induced Fluorescence Measurements in High Temperature and Pressure Conditions (고온고압 조건에서 Two-Photon LIF를 이용한 CO 측정에 관한 연구)

  • Oh, Seung-Mook;Kim, Duk-Sang;Miles, Paul C.;Colban, Will F.
    • Journal of the Korean Society of Combustion
    • /
    • v.12 no.4
    • /
    • pp.1-7
    • /
    • 2007
  • Carbon monoxide (CO) is not only an important intermediate species in chemical reaction mechanisms of hydrocarbon fuel combustion, but also a crucial pollutant species emitted from automotive engines. To better understand the physical processes impacting CO emissions, the development of laser-based measurement techniques that can visualize in-cylinder CO distributions is desirable. Among these techniques, Laser-Induced Fluorescence (LIF) is a sensitive and species-selective detection technique capable of good spatial resolution. However, some technical matters such as deep UV excitation, severe pressure dependency of the LIF signal, and potential interference from other species have been major challenges for CO LIF application. This study is focused on investigating the feasibility of CO two-photon LIF in a direct-injection diesel engine operating at typical pressure and temperature conditions with commercial grade diesel fuel. Spectroscopic analysis shows that the CO fluorescence signal can be separated from $C_2$ Swan band or broadband fluorescence from PAHs when the signal is collected near 483 nm. The signal-to-noise ratio of CO LIF deteriorate rapidly as pressure is increased, following $P^{-1.49}$ which matches the theoretical signal pressure dependency.

  • PDF