• 제목/요약/키워드: Sorting algorithm

검색결과 282건 처리시간 0.027초

POSIX스레드에 의한 재귀적 알고리즘의 병렬화에서 병렬성 제어 방안 (A Device of Parallelism Control in POSIX Based Parallelization of Recursive Algorithms)

  • 이형봉;백청호
    • 정보처리학회논문지A
    • /
    • 제9A권2호
    • /
    • pp.249-258
    • /
    • 2002
  • 처리기를 여러 개 장착한 다중처리기 시스템의 근본 목적은 적은 비용으로 많은 성능 향상을 얻자는 데에 있다. 그러나 다중처리기 시스템을 충분히 활용하기 위해서는 병렬처리를 지원하는 특별한 언어를 사용하거나 병렬성을 탐색하는 도구의 도움을 얻어야 하는 경우가 대부분이다. 일반적으로 알고리즘에서 병렬화에 적합한 대표적인 영역으로 루프와 재귀호출 등이 알려져 있다. 이 중 재귀호출은 특별한 도구나 언어의 지원 없이 개념적인 측면에서 비교적 쉽게 병렬화 시킬 수 있다. 그러나 재귀호출이 깊어지면 통제되지 않은 병렬성이 과도하게 높아져 오히려 수행불능 상태가 되고 만다. 본 논문은 POSIX스레드를 이용하여 재귀호출로 구성된 알고리즘을 병렬화시키는 과정에서 병렬성을 제어하는 방안을 제시한다. 이를 위하여 유닉스 시스템에서 프로세스와 스레드의 개념을 정립하고, 제안된 병렬성 제어 방안을 퀵 정렬에 적용한 결과를 실증적으로 분석하여 그 효용성을 검증한다.

1.4 Gbps 비이진 LDPC 코드 복호기를 위한 Fully-Parallel 아키텍처 (Fully-Parallel Architecture for 1.4 Gbps Non-Binary LDPC Codes Decoder)

  • 최인준;김지훈
    • 전자공학회논문지
    • /
    • 제53권4호
    • /
    • pp.48-58
    • /
    • 2016
  • 본 논문은 GF(64) (160,80) 정규 (2,4) 비이진 LDPC 코드 복호기를 위한 높은 처리량의 병렬 아키텍처를 제안한다. 복호기의 복잡도를 낮추기 위해 체크 노드와 변수 노드의 차수가 작은 코드를 사용하며 뛰어난 에러 정정 성능을 위해 높은 위수의 유한체에서 정의된 코드를 사용한다. 본 논문은 Fully-parallel 아키텍처를 설계하고 체크 노드와 변수 노드를 interleaving하여 복호기의 데이터 처리량을 향상시켰다. 또한 체크 노드의 초기화 지연을 단축시킬 수 있는 조기 분류 기법을 제안하여 데이터 처리량을 추가로 향상시켰다. 제안된 복호기는 1 iteration에 37사이클이 소요되며 625MHz 동작주파수에서 1402Mbps의 데이터 처리량을 갖는다.

공간최적화 모델을 활용한 환경계획의 공간화 방안 (Suggestion for Spatialization of Environmental Planning Using Spatial Optimization Model)

  • 윤은주;이동근;허한결;성현찬
    • 한국환경복원기술학회지
    • /
    • 제21권2호
    • /
    • pp.27-38
    • /
    • 2018
  • Environmental planning includes resource allocation and spatial planning process for the conservation and management of environment. Because the spatialization of the environmental planning is not specifically addressed in the relevant statutes, it actually depends on the qualitative methodology such as expert judgement. The results of the qualitative methodology have the advantage that the accumulated knowledge and intuition of the experts can be utilized. However, it is difficult to objectively judge whether it is enough to solve the original problem or whether it is the best of the possible scenarios. Therefore, this study proposed a methodology to quantitatively and objectively spatialize various environmental planning. At first, we suggested a quantitative spatial planning model based on an optimization algorithm. Secondly, we applied this model to two kinds of environmental planning and discussed about the model performance to present the applicability. Since the models were developed based on conceptual study site, there was a limitation in showing possibility of practical use. However, we expected that this study can contribute to the fields related to environmental planning by suggesting flexible and novel methodology.

원화의 음영 캡쳐 기반 카툰 캐릭터 렌더링 (Cartoon Character Rendering based on Shading Capture of Concept Drawing)

  • 변혜원;정혜문
    • 한국멀티미디어학회논문지
    • /
    • 제14권8호
    • /
    • pp.1082-1093
    • /
    • 2011
  • 3차원 캐릭터 모델의 만화적 표현을 위하여 일반적으로 사용되고 있는 기존의 카툰렌더링 방법들은 아티스트가 직접 그린 원화의 표현을 그대로 살리는데 한계가 있다. 본 논문에서는 원화로부터 만화적인 음영모델을 캡쳐하는 기술을 제안하고 이를 이용하여 3차원 캐릭터 모델을 효과적으로 카툰 렌더링하는 새로운 시스템을 제공한다. 이 시스템의 특징은 음영을 캡쳐한 후에 캐릭터 모델의 만화적 특성을 부각시키기 위하여 음영을 이용하여 형태를 강조하는 알고리즘을 포함하며 아티스트가 포스트 프러덕션으로 음영을 편집할 수 있는 스케치 기반 인터페이스를 지원하는 것이다. 이를 위하여 선택된 영역의 색상 분포와 비율을 분석하는 RGB 색상 정렬 알고리즘을 이용하여 카툰 텍스처를 자동으로 생성하는 방법론을 제시한다. 또한 캐릭터의 형태적 특성을 강조하기 위하여 세일리언시 기반 카툰 렌더링 알고리즘을 제안하며, 음영을 지역적으로 편집하는 스케치 인터페이스를 제공한다. 마지막으로 사용자 평가를 통하여 제안하는 시스템의 유용성을 입증한다.

An open Scheduling Framework for QoS resource management in the Internet of Things

  • Jing, Weipeng;Miao, Qiucheng;Chen, Guangsheng
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제12권9호
    • /
    • pp.4103-4121
    • /
    • 2018
  • Quality of Service (QoS) awareness is recognized as a key point for the success of Internet of Things (IOT).Realizing the full potential of the Internet of Things requires, a real-time task scheduling algorithm must be designed to meet the QoS need. In order to schedule tasks with diverse QoS requirements in cloud environment efficiently, we propose a task scheduling strategy based on dynamic priority and load balancing (DPLB) in this paper. The dynamic priority consisted of task value density and the urgency of the task execution, the priority is increased over time to insure that each task can be implemented in time. The scheduling decision variable is composed of time attractiveness considered earliest completion time (ECT) and load brightness considered load status information which by obtain from each virtual machine by topic-based publish/subscribe mechanism. Then sorting tasks by priority and first schedule the task with highest priority to the virtual machine in feasible VMs group which satisfy the QoS requirements of task with maximal. Finally, after this patch tasks are scheduled over, the task migration manager will start work to reduce the load balancing degree.The experimental results show that, compared with the Min-Min, Max-Min, WRR, GAs, and HBB-LB algorithm, the DPLB is more effective, it reduces the Makespan, balances the load of VMs, augments the success completed ratio of tasks before deadline and raises the profit of cloud service per second.

Simplified Noise Modeling of GPS Measurements for a Fast and Reliable Cycle Ambiguity Resolution

  • Park, Byung-Woon;Kee, Chang-Don
    • 한국항해항만학회:학술대회논문집
    • /
    • 한국항해항만학회 2006년도 International Symposium on GPS/GNSS Vol.1
    • /
    • pp.535-540
    • /
    • 2006
  • The relationship between the observable noise model and the satellite elevation angle can be modeled quite well by an exponential function.[Jin, 1996] Noise size and dependence on the elevation angle are, however, different for each observation and receiver type. Therefore, the coefficient determination of this model is an issue, and various methods including PR-CP, single difference, and time difference have been suggested. The limitations of them are difficulty to model the carrier phase noise and to eliminate bias. To overcome these disadvantages for using Jin's model, we suggest zero baseline double difference (DD) and noise sorting algorithm. Data DD technique in zero baseline is useful to eliminate all the troublesome GPS biases, and the remaining error is the sum of GPS measurement noises from two satellites. These DD residuals for hours should be sorted by the combination of satellite elevation angles, and then variance value of the residual for each combination can be estimated. Using these values, we construct an over-determined linear equation whose solution is a set of noise variance for each satellite elevation angle. With 24hr Trimble 4000ssi data, we easily worked out the coefficients of the noise model not only for pseudorange but also for carrier phase. We estimated the standard deviation of the measurement DD using our model, and plotted 1 and 3 sigma lines for every epoch to verify the representation of the residual error. 63.3% of pseudorange residual and 65.9% of phase error did not exceed the 1 sigma lines. Additionally, 99.2% and 99.5% of them lied within 3sigma line. These figures prove that the Gaussian property of measurement noise, and that the suggested model by our algorithm corresponds to the observable noise information.

  • PDF

Constellation Multi-Objective Optimization Design Based on QoS and Network Stability in LEO Satellite Broadband Networks

  • Yan, Dawei;You, Peng;Liu, Cong;Yong, Shaowei;Guan, Dongfang
    • KSII Transactions on Internet and Information Systems (TIIS)
    • /
    • 제13권3호
    • /
    • pp.1260-1283
    • /
    • 2019
  • Low earth orbit (LEO) satellite broadband network is a crucial part of the space information network. LEO satellite constellation design is a top-level design, which plays a decisive role in the overall performance of the LEO satellite network. However, the existing works on constellation design mainly focus on the coverage criterion and rarely take network performance into the design process. In this article, we develop a unified framework for constellation optimization design in LEO satellite broadband networks. Several design criteria including network performance and coverage capability are combined into the design process. Firstly, the quality of service (QoS) metrics is presented to evaluate the performance of the LEO satellite broadband network. Also, we propose a network stability model for the rapid change of the satellite network topology. Besides, a mathematical model of constellation optimization design is formulated by considering the network cost-efficiency and stability. Then, an optimization algorithm based on non-dominated sorting genetic algorithm-II (NSGA-II) is provided for the problem of constellation design. Finally, the proposed method is further evaluated through numerical simulations. Simulation results validate the proposed method and show that it is an efficient and effective approach for solving the problem of constellation design in LEO satellite broadband networks.

수요대응형 모빌리티 최적 운영을 위한 동적정류장 배정 모형 개발 (Development of a Model for Dynamic Station Assignmentto Optimize Demand Responsive Transit Operation)

  • 김진주;방수혁
    • 한국ITS학회 논문지
    • /
    • 제21권1호
    • /
    • pp.17-34
    • /
    • 2022
  • 본 논문은 수요대응형 모빌리티 이용객의 출발지와 목적지까지 최적 경로 산정을 위한 동적정류장 배정 모형을 개발하였다. 여기서 최적화를 위한 변수로는, 운영자 측면에서 버스통행시간과 이용자 측면에서 서비스 이용 시 추가로 소요되는 정류장까지 도보시간 및 대기시간, 우회시간을 사용하였다. 미국 캘리포니아주 애너하임과 주변 도시를 포함하는 네트워크를 대상으로 승객이 예약한 시종점에서 접근 가능한 동적정류장 리스트를 산정하고 K-means 클러스터링 기법을 이용하여 시종점 그룹들을 각기 차량에 배정하였다. 버스통행시간과 이용자 추가소요시간을 최소화하는 동적정류장 위치 및 버스노선 결정을 위한 모형을 개발하고 다목적 최적화를 위해 NSGA-III 알고리즘을 적용하였다. 최종적으로, 모델의 효용성을 평가하기 위해 이용자 추가소요시간 간의 변수를 조정하여 7개의 시나리오를 설정하였고 이를 통해 목적함수의 타당성을 분석하였다. 그 결과, 운영자 측면에서는 버스통행시간과 승객 대기시간만 고려한 시나리오가, 이용자 측면에서는 버스통행시간, 도보시간, 우회시간을 적용한 시나리오가 가장 우수하였다.

허브 네트워크에서의 장거리 공중 전술 통신을 위한 반복 정렬 기반의 자원 스케줄링 기법 (A Resource Scheduling Based on Iterative Sorting for Long-Distance Airborne Tactical Communication in Hub Network)

  • 이경훈;이동훈;이대홍;정성진;최형진
    • 한국통신학회논문지
    • /
    • 제39C권12호
    • /
    • pp.1250-1260
    • /
    • 2014
  • 본 논문에서는 허브 네트워크 기반의 장거리 공중 전술 통신을 위한 새로운 자원 스케줄링 기법을 제안한다. 최근 세계 각국에서는 네트워크 중심전 (NCW, Network Centric Warfare)으로 변화하는 현대전의 흐름에 맞추어 공용데이터링크 (CDL, Common Data Link)의 전송속도 및 네트워킹 기능을 향상시키기 위한 기술 개발에 주력하고 있으며, 우리 군도 자립적인 차세대 대용량 CDL 기술 개발에 박차를 가하고 있다. CDL의 대표적 운용 구조인 허브 네트워크에서는 제한된 주파수 대역 내에서 다수의 UAV (Unmanned Aerial Vehicle)들과 대용량의 영상 전술 정보를 동시 다발적으로 교환하기 위해, hybrid FDMA(Frequency Division Multiple Access)/TDMA(Time Division Multiple Access) 구조를 고려할 수 있다. 그러나 UAV 별 상이한 왕복 시간 지연 (RTT, Round-Trip Time) 및 트래픽 크기로 인해 동일 주파수 대역을 점유하는 UAV 간 유휴 시간 자원이 발생하거나 불필요한 패킷 전송 지연이 발생할 수 있으며, 이는 장거리 운용 시 허브 네트워크의 자원 효율을 저하시킨다. 따라서 본 논문에서는 UAV 별 발생하는 RTT와 트래픽 크기를 기반으로 하는 반복적 정렬 알고리즘을 통해 UAV의 시간/주파수 자원을 스케줄링하는 기법을 제안한다. 성능 평가를 통해 제안 기법이 낮은 복잡도로 데이터 처리율과 패킷 지연 측면의 성능 향상이 가능함을 입증하였다.

폐선형계로 본 유역대표 단위유량도의 유도를 위한 알고리즘의 개발에 관한 연구 (A Stiudy on the Deveplopment of Algorithm for the Representative Unit Hydrograph of a Watershed as a Closed Linear System.)

  • 김재한;이원환
    • 물과 미래
    • /
    • 제13권2호
    • /
    • pp.35-47
    • /
    • 1980
  • 본 연구는 유역을 폐선형계로 본 강우와 유출간의 해석으로부터 1시간대표단위유량도를 유도하기 위한 알고리즘을 개발한 것이다. 단위도 유도에 필요한 기저유출과 직접유출의 분리는 본 연구에서 개발된 다변굴곡법에 의하였으며, 종래의 방법들에 비해 비교적 좋은 결과를 주었다. 초과우량의 산정을 위해서는 $\Phi$ index 법의 개념을 각 시간별로 적용하는 수정 $\Phi$ index 법을 개발 적용함으로써 종래의 $\Phi$ index 법의 약점을 보완할 수 있었다. 이와 같은 방법으로 직접유출과 이에 상응하는 초과우량을 결정한 후 각 호우집단별로 1시간단위도의 시간별 종거를 시산에 의해 결정하되 관측수문곡선을 재연토록 함으로써 구간별 지수함수형의 단위도를 유도하였다. 본 연구의 타당성 검정을 위하여 낙동강의 남하 및 동촌 지점과 금강의 용 담 지점의 1시간대표단위도를 유도하고 그 결과를 합성단위도법 및 Nakayasu 방법에 의한 결과와 비교 검토하였으며, 단위도의 유도에 사용하지 않은 호우사상에 대하여 유도된 1시간 대표단위도를 적용함으로써 관측치와 산정치를 비교하였다. 본 해석의 일반화를 위하여 주 프로그램과 3개의 부 프로그램(초과우량 산정, 회선누적, 크기배열)으로 구성되어진 컴퓨터 프로그램을 개발하였으며, 이 프로그램은 타 유역에 그대로 적용이 가능토록 되어 있다.

  • PDF