Dinaminės duomenų struktūros ir kai kurių jų algoritmų realizavimas rodyklėmis

The present research paper deals with the comparison of static and dynamic data structures: static array, dynamic array, pointers array - class TList (Delphi) and dynamic doubly linked list, created with the help of recursive record.To compare the above mentioned structures, sorting (Bubble) and con...

Full description

Bibliographic Details
Main Author: Suchaževskaja, Tatjana
Other Authors: Melničenko, Grigorijus, Kazlauskas, Kazys, Stankevičienė, Eglė, Dzemyda, Gintautas, Šaltenis, Vydūnas, Vilnius Pedagogical University
Format: Master Thesis
Language:Lithuanian
Published: Lithuanian Academic Libraries Network (LABT) 2005
Subjects:
C++
Online Access:http://vddb.library.lt/obj/LT-eLABa-0001:E.02~2005~D_20050608_172624-42734
Description
Summary:The present research paper deals with the comparison of static and dynamic data structures: static array, dynamic array, pointers array - class TList (Delphi) and dynamic doubly linked list, created with the help of recursive record.To compare the above mentioned structures, sorting (Bubble) and convex hull creation algorithms (Graham, Endrew) are realized, with the time of their implementation analysed. The algorithm of sorting (Bubble) is realized by four ways: static array, dynamic array, pointers array (class TList) and a dynamic doubly linked list, created with the help of recursive record.The algorithms of convex hull creation (Graham, Endrew) is realized by three ways: static array, dynamic array and pointers array (TList).The research paper also describes the pointers array class TList (Delphi), its properties and methods. The sorting method Sort of this class is compared with the sorting method of a “Bubble”. Using class templates, a universal class MList (C++) was created for work with dynamic linear linked lists.