• 제목/요약/키워드: Dependency Injection

검색결과 35건 처리시간 0.023초

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

  • 박인규;최규석
    • 한국인터넷방송통신학회논문지
    • /
    • 제23권4호
    • /
    • pp.183-188
    • /
    • 2023
  • 게임 오브젝트의 상속 및 여러 가지의 컴포넌트를 이용하여 시스템 아키텍처의 시각화, 우수한 코드 재사용 및 빠른 프로토타이핑이 가능하다. 반면에 객체는 게임 오브젝트와 컴포넌트 간의 높은 대기 시간, 정적 형변환과 널 포인터등의 많은 참조에 의존하기 마련이다. 게임 제작시에 여러 클래스에 대한 객체의 의존도를 낮추고 코드의 재사용이 가능하도록 설계하는 것은 중요한 일이다. 따라서 의존성 주입(Dependency Injection)과 GoF(Gang of Four)가 제안한 디자인 패턴들을 적용하여 클래스의 모듈성을 더욱 높일 수 있도록 게임을 설계하였다. 이러한 의존성은 게임 오브젝트의 속성이고 주입은 초기화 패스에서만 발생하므로 게임 루프에서 성능 저하나 성능 페널티는 미세하다. 따라서 본 논문에서는 서바이벌 게임의 설계와 구현에 있어서 API(Application Programming Interface)를 효과적으로 재사용하는 효율적인 설계방법을 제안하였다.

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

  • 김사엽;오윤중;박성욱;이창식
    • 한국자동차공학회논문집
    • /
    • 제20권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)

  • 조선화;김병성;김공현;박형종
    • 보건교육건강증진학회지
    • /
    • 제11권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

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

  • 최준환
    • 한국분말재료학회지
    • /
    • 제6권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

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

  • 김고운;박영학;주영훈;김상연;심미란;황연신;선동일
    • 대한후두음성언어의학회지
    • /
    • 제29권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
    • /
    • 제17권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

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

  • 나민기;한인식;최원호;권혁민;지희환;박성형;이가원;이희덕
    • 대한전자공학회논문지SD
    • /
    • 제45권4호
    • /
    • pp.57-63
    • /
    • 2008
  • 본 논문에서는 Contact Etch Stop Layer (CESL)인 nitride film의 mechanical stress에 의해 인가되는 channel stress가 소자 특성에 미치는 영향에 대해 분석하였다. 잘 알려진 바와 같이 NMOS는 tensile stress와 PMOS에서는 compressive stress가 인가되었을 경우 drain current가 증가하였으며 그 원인을 체계적으로 분석하였다. NMOS의 경우 tensile stress가 인가됨으로써 back scattering ratio ($\tau_{sat}$)의 감소와 thermal injection velocity ($V_{inj}$)의 증가로 인해 mobility가 개선됨을 확인하였다. 또한 $\tau_{sat}$, 의 감소는 온도에 따른 mobility의 감소율이 작고, 그에 따른 mean free path ($\lambda_O$)의 감소율이 작기 때문인 것으로 확인되었다. 한편 PMOS의 compressive stress 경우에는 tensile stress에 비해 온도에 따른 mobility의 감소율이 크기 때문에 channel back scattering 현상은 심해지지만 source에서의 $V_{inj}$가 큰 폭으로 증가함으로써 mobility가 개선됨을 확인 할 수 있었다. 따라서 CES-Layer에 의해 인가된 channel stress에 따른 소자 특성의 변화는 inversion layer에서의 channel back scattering 현상과 source에서의 thermal injection velocity에 매우 의존함을 알 수 있다.

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

  • 곽상근;김소영
    • 한국전자파학회논문지
    • /
    • 제24권4호
    • /
    • pp.436-447
    • /
    • 2013
  • 본 논문에서는 IC(Integrated Circuit) 전자파 전도내성 시험 방법인 BCI(Bulk Current Injection)와 DPI(Direct Power Injection)를 이용하여 1.8 V I/O 버퍼에 대한 IC 전자파 전도내성을 시험하였다. IC 전자파 전도내성 시험을 회로 해석기를 사용하여 시뮬레이션 할 수 있는 등가회로 모델(model)을 개발하고 검증하였다. BCI와 DPI의 주파수에 따른 forward 전력을 비교한 결과는 주파수 성분에 따라 실제 IC에 도달하는 전자파(electromagnetic, EM) 노이즈의 양이 제한됨을 보여준다. 시뮬레이션을 통해, 가해지는 RF(Radio Frequency) 노이즈가 전달되는 경로의 삽입손실을 구하여, 하나의 시험 방법만으로는 넓은 주파수 영역에서 실질적인 IC 전자파 내성시험의 어려움을 발견하였다. 따라서 규정된 시험 방법을 보완하여 넓은 주파수 영역의 노이즈에 대해 신뢰도 높은 IC 전자파 전도내성 시험 방법을 제안한다.

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

  • 김경훈;최영하;윤석주
    • 대한기계학회:학술대회논문집
    • /
    • 대한기계학회 2002년도 학술대회지
    • /
    • 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

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

  • 오승묵;김득상
    • 한국연소학회지
    • /
    • 제12권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