• Title/Summary/Keyword: O-Algorithm

Search Result 1,526, Processing Time 0.027 seconds

Parallel Computation for Extended Edit Distances Using the Shared Memory on GPU (GPU의 공유메모리를 활용한 확장편집거리 병렬계산)

  • Kim, Youngho;Na, Joong Chae;Sim, Jeong Seop
    • KIPS Transactions on Computer and Communication Systems
    • /
    • v.4 no.7
    • /
    • pp.213-218
    • /
    • 2015
  • Given two strings X and Y (|X|=m, |Y|=n) over an alphabet ${\Sigma}$, the extended edit distance between X and Y can be computed using dynamic programming in O(mn) time and space. Recently, a parallel algorithm that takes O(m+n) time and O(mn) space using m threads to compute the extended edit distance between X and Y was presented. In this paper, we present an improved parallel algorithm using the shared memory on GPU. The experimental results show that our parallel algorithm runs about 19~25 times faster than the previous parallel algorithm.

Algorithm for Grade Adjust of Mixture Optimization Problem (혼합 최적화 문제의 성분 함량 조절 알고리즘)

  • Lee, Sang-Un
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.21 no.4
    • /
    • pp.177-182
    • /
    • 2021
  • Generally, the linear programming (LP) with O(n4) time complexity is applied to mixture optimization problem that can be produce the given ingredients grade product with minimum cost from mixture of various raw materials. This paper suggests heuristic algorithm with O(n log n) time complexity to obtain the solution of this problem. The proposed algorithm meets the content range of the components required by the alloy steel plate while obtaining the minimum raw material cost, decides the quantity of raw material that is satisfied with ingredients grade for ascending order of unit cost. Although the proposed algorithm applies simple decision technique with O(n log n) time complexity, it can be obtains same solution as or more than optimization technique of linear programing.

A Three-Step Heuristic Algorithm For Optimal PLA Column and/or Row Folding (PLA 열 또는 행의 최적 겹침쌍을 찾기위한 3 단계 휴리스틱 알고리즘)

  • Yang, Yeong-Yil;Kyung, Chong-Min
    • Proceedings of the KIEE Conference
    • /
    • 1988.07a
    • /
    • pp.591-594
    • /
    • 1988
  • A three-step heuristic algorithm for PLA column folding and row folding of column-folded PLA is presented, which is significantly faster than the earlier works and provides nearly optimal results. The three steps are i) min-cut partition of vertices in the column (or row) intersection graph, ii) determination of products' order using Fiduccia's min-net cut algorithm, and iii) head-tail pairing for column folding, while some heuristics are proposed for deciding row folding pairs. The time complexity of this algorithm is O($n^{2}$log n) compared to the O($n^{3}$) - O($n^{4}$) of the earlier works.$^[2][3][9]$ For a test PLA with 23 inputs, 19 outputs and 52 products, the number of column folding pairs obtained using this algorithm is 20 which is optimal, as compared to 17 in a previous work.

  • PDF

Reconfiguration method for array structures using spare element lines (여분소자 라인을 이용한 배열구조의 재구성 방법)

  • 김형석;최상방
    • Journal of the Korean Institute of Telematics and Electronics C
    • /
    • v.34C no.2
    • /
    • pp.50-60
    • /
    • 1997
  • Reconfiguration of a memory array using spare rows and columns has been known to be a useful technique to improve the yield. When the numbers of spare rows and scolumns are limited, respectively, the repair problem is known to be NP-complete. In this paper, we propose the reconfiguration algorithm for an array of memory cells using faulty cel clustering, which removes rows and columns algrithm is the simplest reconfiguration method with the time complexity of $O(n^2)$, where n is the number of faulty cells, however the repair rate is very low. Whereas the exhaustive search algorithm has a high repair rate, but the time complexity is $O(2^n)$. The proposed algorithm provides the same repair rate as the exhaustive search algorithm for almost all cases and runs as fast as the greedy method. It has the time complexity of $O(n^3)$ in the worst case. We show that the propsed algorithm provides more efficient solutions than other algorithms using simulations.

  • PDF

Algorithm for Minimum Degree Inter-vertex Edge Selection of Maximum Matching Problem (최대 매칭 문제의 최소차수 정점 간 간선 선택 알고리즘)

  • Lee, Sang-Un
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.22 no.5
    • /
    • pp.1-6
    • /
    • 2022
  • This paper deals with the maximum cardinality matching(MCM) problem. The augmenting path technique is well known in MCM. MCM is obtained by $O({\sqrt{n}}m)$ time complexity augmenting path algorithm for the general graph, and O(m log n) algorithm for the bipartite graph. On the other hand, this paper suggests O(n) linear time algorithm. The proposed algorithm based on the basic principle of as possible as largest selected inter-vertex edges in order to obtain the MCM. This paper simply selects edge {u,𝜐} that the minimum degree vertex u and minimum degree vertex 𝜐 in NG(u) 𝜈(G)=k times iteration. For various general and bipartite graphs experimental data, this algorithm can be get the 𝜈(G) exactly.

FAST UNIQUE DECODING OF PLANE AG CODES

  • Lee, Kwankyu
    • Honam Mathematical Journal
    • /
    • v.35 no.4
    • /
    • pp.793-808
    • /
    • 2013
  • An interpolation-based unique decoding algorithm of Algebraic Geometry codes was recently introduced. The algorithm iteratively computes the sent message through a majority voting procedure using the Gr$\ddot{o}$bner bases of interpolation modules. We now combine the main idea of the Guruswami-Sudan list decoding with the algorithm, and thus obtain a hybrid unique decoding algorithm of plane AG codes, significantly improving the decoding speed.

Analyses of the OMI Cloud Retrieval Data and Evaluation of Its Impact on Ozone Retrieval (OMI 구름 측정 자료들의 비교 분석과 그에 따른 오존 측정에 미치는 영향 평가)

  • Choi, Suhwan;Bak, Juseon;Kim, JaeHwan;Baek, KangHyun
    • Atmosphere
    • /
    • v.25 no.1
    • /
    • pp.117-127
    • /
    • 2015
  • The presences of clouds significantly influence the accuracy of ozone retrievals from satellite measurements. This study focuses on the influence of clouds on Ozone Monitoring instrument (OMI) ozone profile retrieval based on an optimal estimation. There are two operational OMI cloud products; OMCLDO2, based on absorption in $O_2-O_2$ at 477 nm, and OMCLDRR, based on filling in Fraunhofer lines by rotational Raman scattering (RRS) at 350 nm. Firstly, we characterize differences between $O_2-O_2$ and RRS effective cloud pressures using MODIS cloud optical thickness (COT), and then compare ozone profile retrievals with different cloud input data. $O_2-O_2$ cloud pressures are significantly smaller than RRS by ~200 hPa in thin clouds, which corresponds to either low COT or cloud fraction (CF). On the other hand, the effect of Optical centroid pressure (OCP) on ozone retrievals becomes significant at high CF. Tropospheric ozone retrievals could differ by up to ${\pm}10$ DU with the different cloud inputs. The layer column ozone below 300 hPa shows the cloud-induced ozone retrieval error of more than 20%. Finally, OMI total ozone is validated with respect to Brewer ground-based total ozone. A better agreement is observed when $O_2-O_2$ cloud data are used in OMI ozone profile retrieval algorithm. This is distinctly observed at low OCP and high CF.

Proposal of Fast Counting Sort (빠른 계수 정렬법의 제안)

  • Lee, Sang-Un
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.15 no.5
    • /
    • pp.61-68
    • /
    • 2015
  • Among comparison sorts, no algorithm excels a current set lower bound of O(nlogn) in operation. Quicksort, the fastest of its kind, has a complexity of O(nlogn) at its best and on average and $O(n^2)$ at worst. This paper thus presents two methods: first is an O(n+k) simple counting sort which operates much more speedily than an O(n+k), (k=maximum value) counting sort, and second is an O(ln) radix counting sort which counts the frequency of numbers in the digit l of a data and saves it in a corresponding virtual bucket in an array, only to virtually divide the array into radix digit numbers. For the 6 experimental data, the proposed algorithm makes O(nlogn) or $O(n^2)$ of Quicksort simple into O(n+k) or O(ln). After all, the proposed sorting algorithm has proved to be much faster than the counting sort and Quicksort.

Optimal Solution Algorithm for Delivery Problem on Graphs

  • Lee, Kwang-Eui
    • Journal of the Korea Society of Computer and Information
    • /
    • v.26 no.3
    • /
    • pp.111-117
    • /
    • 2021
  • The delivery problem on a graph is that of minimizing the object delivery time from one vertex to another vertex on a graph with m vertices using n various speed robot agents. In this paper, we propose two optimal solution algorithms for the delivery problem on a graph with time complexity of O(㎥n) and O(㎥). After preprocessing to obtain the shortest path for all pairs of the graph, our algorithm processed by obtaining the shortest delivery path in the order of the vertices with the least delivery time. Assuming that the graph reflects the terrain on which to solve the problem, our O(㎥) algorithm actually has a time complexity of O(㎡n) as only one preprocessing is required for the various deployment of n robot agents.

Development of an Algorithm for Emergency Nursing Care of Dyspneic Patients (호흡곤란 환자 응급간호 관리를 위한 알고리즘 개발 연구)

  • Yang, Jin-Ju;Jang, Keum-Seong
    • Journal of Korean Academy of Nursing Administration
    • /
    • v.15 no.4
    • /
    • pp.491-505
    • /
    • 2009
  • Purpose: This study was to develop an algorithm for emergency nursing care of dyspneic patients. Methods: This methodological study was done through reviews of medical records and literatures, checklists of emergency nursing care for dyspneic patients, interviews with nurses, and experts' validity. Results: Firstly, the initial assessment confirmed the identification of airway patency, accessory muscle usage, RR, $SpO_2$, v/s, skin color, and mental status. Immediate emergency care provided oxygen, checked ABG, EKG, and chest X-ray, established a semi-fowler position, maintained IV routes, administered medication orders, and conducted careful monitoring. Secondly, if the patient exhibited $SpO_2$ of less than 90%, the nurse considered the patient's condition to be aggravated. Thirdly, if the patient showed improvement of more than 90% $SpO_2$, the nurse administered secondary assessment and carried out specific nursing care. However, if the patient continuously showed $SpO_2$ of less than 80%, the nurse assisted the intubation and then executed ventilator therapy. Conclusions: This study suggests that the algorithm is an effective decision tool and utilizing the algorithm is expected to improve the emergency nursing care for dyspneic patients.

  • PDF