• 検索結果がありません。

Japan Advanced Institute of Science and Technology

N/A
N/A
Protected

Academic year: 2021

シェア "Japan Advanced Institute of Science and Technology"

Copied!
3
0
0

読み込み中.... (全文を見る)

全文

(1)

Japan Advanced Institute of Science and Technology

JAIST Repository

https://dspace.jaist.ac.jp/

Title

効率良く図形を描画するためのデータ構造に関する研

Author(s)

天野, 隆

Citation

Issue Date

2001‑03

Type

Thesis or Dissertation

Text version

author

URL

http://hdl.handle.net/10119/1464

Rights

Description

Supervisor:浅野 哲夫, 情報科学研究科, 修士

(2)

to Draw Figures EÆciently

Takashi Amano

School of Information Science,

Japan Advanced Institute of Science and Technology

February 15, 2001

Keywords: group updates, data structure, chromatictree, thinking time.

Whenwesolveaproblemtreatinggeometricdata,theroleplayedbycomputersisvery

largeandthenecessityofdealingwiththeproblemconcerninggeometricgureseÆciently

by computers has increased more and more in recent years. Studies on data structures

tomanagegeometric dataare performedrigorously,and variousdata sutructuressuch as

anAVL tree and asegment tree are proposed.

Drawing tools, such as CAD, must be able to insert, delete and select required geo-

metric objects quickly while they treat geometric huge data. For that, we need suitable

algorithms and data structures. Moreover, it is important that a user does not feel un-

confortablewiththe processingtime. Now, generallywe usebalanced binarysearchtrees

represented byAVL treeforbasic datastructures inCAD. OnanAVL tree,adatastruc-

tureisupdatedforeveryinsertionordeletion. Geometricdataareoftenhuge. Thus,when

the updatingisperformedfrequently, processingtakesmuchtimeand the problemthat a

response may be overdue arises. Therefore, wealso need atechnique forcollectingmany

updates intoa group and performing insertions and deletionsat once. The technique of

collectingat once and updatingis called \groupupdates".

Inthisstudy,weconsidereectiveuseofthinkingtime(inputwaitingtime)madewhen

anoperator are drawing gures. We havedeveloped analgorithmand data structure for

practicalusesothatselection,insertionanddeletionaredonequicklyusinggroupupdates.

When an operatordraws gures,generally noone inputs continuously,but does after

considering gures to draw. A computer enters a state for waiting aninput in which no

gureisinput. Thatis,drawingtimecanbedividedintotimeforactuallyinputofgures

and thinking time of gures to draw. An operator draws gures by repeating the two

processes. We use eectively the waiting time of computers created by the characteristic

of the input by humanoperators. If acomputer does some updates duringwaiting time,

Copyrightc 2001byTakashiAmano

(3)

performed quickly. Although acomputer doesupdates during thinkingtime, acomputer

mustperformindispensableprocessingsimmediately. Foranoparatordoesn't understand

anymorewhatguresaredrawnwhere. Inthisstudy,whenanoperatorinputs,acomputer

performs indispensableprocessingsimmediately,and we tryto draw gureseÆciently by

updating the data structure whichneeds time later.

Weprepare threememorydomainstoaccumulatedataasdatastructuresforthetech-

nique. The main memory domain accumulate alldata, and others are memory domains

to accumulate data temporarily. They are a memory domainwhichaccumulates data to

beinserted, andamemorydomainwhichaccumulatesdatatobedeleted. Thedata tobe

inserted when an operator draws gures, or data to be deleted are saved to the memory

domainaccumulatedtemporarily. Next,duringthinkingtime,the dataaccumulatedtem-

porarilyuntil noware inserted inthe main memory domainordata are deleted fromthe

mainmemorydomain. Sincealldataare accumulatedtherewhen thenumberofmemory

domainsisone, theconventionaltechniquerequirestimeforupdates. Sincethetechnique

inthisstudy accumulates onlythepresent updatestemporarilyandupdates forthemain

are performedlater, time required for the present updates isshortened.

The updating operations accumulated temporarilyare not reected in the main data

structure by the simple technique, but we elaborate a device ongroup updatesso that it

can update more eÆciently than a simple technique. A simple technique inserts into or

deletesfromthe main memorydomain forevery data. We use achromatictree asadata

structure required toperform group updateseÆciently.

Inthisstudy,weexperimentedbyprogrammingthetoolwhichperformsgroupupdates

usingachromatictree. Weobtainedthe resultsthatthegroupupdatescanperformmore

quicklythantheconventionaltechniquebytheexperimentsofcomparingtheconventional

techniqueswithgroupupdatesinexecutiontime. Fromtheexperimentalresults,itisseen

that the technique of this study can be updated more eÆciently than the conventional

technique and it was shown that drawing of gurescan alsobe performedsmoothly.

Since updatingoperationdoes notupdate the main datastructure unlikethe conven-

tionaltechnique,wecanperforminputoperationssmoothly. Moreover, ingroupupdates,

sinceitisdividedintothemaindatastructureandthetemporarymemorydomains,when

a certain data are input and operations of deletion are performed immediately, there is

an advantage that oset of the data in a temporary memory domainscan be performed

quickly.

Althoughwehaverealizedameritofagroupupdatesusingachromatictree, wecould

use a skip list. In the future, we would like touse askip listinstead of a chromatictree.

Then,ascomparedwiththetechniqueproposedinthisstudy,wewillobtainaninteresting

result. Since achromatictree isa data structure alsoeÆcient for parallelproceccing, we

will alsoneed toprogram and compare the data structure to enable parallel proceccing.

In this data structure we have only dealt with segments. However, it became easier to

draw gures if the elements which form gures have basic elements, such as not only

segments but also points, circlesand polygons, and curves. Study on data structures for

accumulating suchbasic elementseÆciently has been left asa future subject.

参照

関連したドキュメント

ImproV allows the users to mix multiple videos and to combine multiple video effects on VJing arbitrary by data flow editor. We employ a unified data type, we call, Video Type which

There is a stable limit cycle between the borders of the stability domain but the fix points are stable only along the continuous line between the bifurcation points indicated

Finally, we infer through a second simulation study that when the multidimensional data is fitted with a unidimensional model, the unidimensional latent ability is precisely

Whereas there has been little discussion about how the combinations of time delays, nonlinear incidence rates and population dispersal affects the disease transmission dynamics

In this work we study spacelike and timelike surfaces of revolution in Minkowski space E 3 1 that satisfy the linear Weingarten relation aH + bK = c, where H and K denote the

Using general ideas from Theorem 4 of [3] and the Schwarz symmetrization, we obtain the following theorem on radial symmetry in the case of p > 1..

The purpose of this paper is to prove Alexander and Markov theorems for higher genus case where the role of groups is played by a new class of groups called virtual twin groups

We study the stabilization problem by interior damping of the wave equation with boundary or internal time-varying delay feedback in a bounded and smooth domain.. By