dc.contributor.advisor | Vihrovs, Jevgēnijs | |
dc.contributor.author | Zajakins, Aleksejs | |
dc.contributor.other | Latvijas Universitāte. Datorikas fakultāte | |
dc.date.accessioned | 2021-07-02T01:05:50Z | |
dc.date.available | 2021-07-02T01:05:50Z | |
dc.date.issued | 2021 | |
dc.identifier.other | 81922 | |
dc.identifier.uri | https://dspace.lu.lv/dspace/handle/7/55820 | |
dc.description.abstract | Darbā tiek apskatīts garākās kopīgās apakšvirknes uzdevuma vispārinājums uz kokiem. Tiek apskatīti divi vienāda izmēra koki, kuru virsotnes ir marķētas ar vienas kopas elementiem. Garākā kopīgā apakšvirkne tiek meklēta pāri visiem ieejas koku ceļu pāriem. Galvenais rezultāts ir algoritms, kas risina apskatīto uzdevumu laikā $O(n \log^3 n)$, kur $n$ ir abu ieejas koku virsotņu skaits. | |
dc.description.abstract | In this work we consider a generalization of the longest common subsequence problem to trees. We examine two equally sized trees with the vertex labels in a common set. Specifically, we solve the problem of finding the longest common subsequence among all pairs of the input tree paths. The main result is an algorithm which solves the considered problem in $O(n \log^3 n)$ time, where $n$ is the number of vertices in both input trees. | |
dc.language.iso | lav | |
dc.publisher | Latvijas Universitāte | |
dc.rights | info:eu-repo/semantics/openAccess | |
dc.subject | Datorzinātne | |
dc.subject | grafi | |
dc.subject | koki | |
dc.subject | garākā kopīgā apakšvirkne | |
dc.subject | garākā augoša apakšvirkne | |
dc.subject | dinamiskā programmēšana | |
dc.title | Zemkvadrātisks algoritms koku ceļu apakšvirkņu uzdevumam | |
dc.title.alternative | Sub-Quadratic Algorithm for the Tree Path Subsequence Problem | |
dc.type | info:eu-repo/semantics/masterThesis | |