Publikationer från Malmö universitet
Endre søk
Link to record
Permanent link

Direct link
Publikasjoner (10 av 26) Visa alla publikasjoner
Kowaluk, M., Lingas, A. & Persson, M. (2026). Approximate All-Pairs Hamming Distances and 0–1 Matrix Multiplication. In: Christos Zaroliagis; Dinabandhu Bhandari; Prosenjit Gupta; Swagatam Das (Ed.), Applied Algorithms: Third International Conference, ICAA 2026, Kolkata, India, January 7–9, 2026, Proceedings. Paper presented at Third International Conference on Applied Algorithms, ICAA 2026, Kolkata, India, January 7–9, 2026 (pp. 38-49). Springer Nature
Åpne denne publikasjonen i ny fane eller vindu >>Approximate All-Pairs Hamming Distances and 0–1 Matrix Multiplication
2026 (engelsk)Inngår i: Applied Algorithms: Third International Conference, ICAA 2026, Kolkata, India, January 7–9, 2026, Proceedings / [ed] Christos Zaroliagis; Dinabandhu Bhandari; Prosenjit Gupta; Swagatam Das, Springer Nature , 2026, s. 38-49Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

Arslan showed that computing all-pairs Hamming distances is easily reducible to arithmetic 0–1 matrix multiplication (IPL 2018). We provide a reverse, linear-time reduction of arithmetic 0–1 matrix multiplication to computing all-pairs distances in a Hamming space. On the other hand, we present a fast randomized algorithm for approximate all-pairs distances in a Hamming space. By combining it with our reduction, we obtain also a fast randomized algorithm for approximate 0–1 matrix multiplication. Finally, we present an output-sensitive randomized algorithm for a minimum spanning tree of a set of points in a generalized Hamming space, the lower is the cost of the minimum spanning tree the faster is our algorithm.(A preliminary version of this article appeared in arXiv.org.)

sted, utgiver, år, opplag, sider
Springer Nature, 2026
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 16423
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-81583 (URN)10.1007/978-3-032-15621-1_4 (DOI)2-s2.0-105028361115 (Scopus ID)978-3-032-15620-4 (ISBN)978-3-032-15621-1 (ISBN)
Konferanse
Third International Conference on Applied Algorithms, ICAA 2026, Kolkata, India, January 7–9, 2026
Tilgjengelig fra: 2026-01-13 Laget: 2026-01-13 Sist oppdatert: 2026-02-09bibliografisk kontrollert
Kowaluk, M., Lingas, A. & Persson, M. (2026). Fast Approximate ℓ-Center Clustering in High-Dimensional Spaces. Algorithms, 19(3), Article ID 243.
Åpne denne publikasjonen i ny fane eller vindu >>Fast Approximate ℓ-Center Clustering in High-Dimensional Spaces
2026 (engelsk)Inngår i: Algorithms, E-ISSN 1999-4893, Vol. 19, nr 3, artikkel-id 243Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

We study the design of efficient approximation algorithms for the ℓ-center clustering and minimum-diameter ℓ-clustering problems in high-dimensional Euclidean and Hamming spaces. Our main tool is randomized dimension reduction. First, we present a general method of reducing the dependency of the running time of a hypothetical algorithm for the ℓ-center problem in a high-dimensional Euclidean space on the dimension. Utilizing this method in part, we provide (2+ϵ)-approximation algorithms for the ℓ-center clustering and minimum-diameter ℓ-clustering problems in Euclidean and Hamming spaces that are substantially faster than the known 2-approximation algorithms when both ℓ and the dimension are super-logarithmic. Next, we apply the general method to the recent fast approximation algorithms with higher approximation guarantees for the ℓ-center clustering problem in a high-dimensional Euclidean space. Finally, we provide a speed-up of the known O(1)-approximation method for the generalization of the ℓ-center clustering problem that allows z outliers (i.e., z input points may be ignored when computing the maximum distance from an input point to a center) in high-dimensional Euclidean and Hamming spaces.

sted, utgiver, år, opplag, sider
MDPI, 2026
Emneord
ℓ2 distance, Euclidean space, Hamming distance, Hamming space, clustering, approximation algorithm, time complexity
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-83581 (URN)10.3390/a19030243 (DOI)001724982400001 ()2-s2.0-105034270243 (Scopus ID)
Tilgjengelig fra: 2026-04-07 Laget: 2026-04-07 Sist oppdatert: 2026-04-20bibliografisk kontrollert
Lingas, A., Persson, M. & Sledneu, D. (2026). Two algorithms for shortest-paths problems in edge-weighted directed graphs. Theoretical Computer Science, 1074, Article ID 115909.
Åpne denne publikasjonen i ny fane eller vindu >>Two algorithms for shortest-paths problems in edge-weighted directed graphs
2026 (engelsk)Inngår i: Theoretical Computer Science, ISSN 0304-3975, E-ISSN 1879-2294, Vol. 1074, artikkel-id 115909Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

First, we present a new algorithm for the single-source shortest paths problem (SSSP) in edge-weighted directed graphs, with n vertices, m edges, and both positive and negative real edge weights. For a positive integer parameter t, in O(tm) time the algorithm finds for each vertex v a path distance from the source to v not exceeding that given by the shortest path from the source to v among the so called t+light paths. A directed path between two vertices is t+light if it contains at most t more edges than the minimum edge-cardinality directed path between these vertices. For t=O(n), our algorithm yields an O(nm)-time solution to SSSP in directed graphs with real edge weights matching the time complexity of the Bellman-Ford algorithm. Our next contribution is a new algorithm for the all-pairs shortest paths problem (APSP) in directed acyclic graphs (DAGs) with positive and negative real edge weights. The running time of the algorithm depends on such parameters as the number of leaves in (lexicographically first) shortest-paths trees, and the in-degrees in the input DAG. If the number of leaves is sufficiently small on the average, the algorithm is substantially faster than the best known algorithm in case of non-sparse DAGs. We also discuss an extension of hypothetical improved upper time-bounds for APSP in non-negatively edge-weighted DAGs to include directed graphs with a polynomial number of large directed cycles.

sted, utgiver, år, opplag, sider
Elsevier B.V., 2026
Emneord
All-pairs shortest paths problem (APSP), Directed acyclic graph (DAG), Edge-weighted directed graph, Single-source shortest paths problem (SSSP), Time complexity
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-83801 (URN)10.1016/j.tcs.2026.115909 (DOI)001738076400001 ()2-s2.0-105034745524 (Scopus ID)
Forskningsfinansiär
Swedish Research Council
Tilgjengelig fra: 2026-04-20 Laget: 2026-04-20 Sist oppdatert: 2026-04-21bibliografisk kontrollert
Lingas, A. & Persson, M. (2025). (min⁡,+) matrix and vector products for inputs decomposable into few monotone subsequences. Theoretical Computer Science, 1037, Article ID 115158.
Åpne denne publikasjonen i ny fane eller vindu >>(min⁡,+) matrix and vector products for inputs decomposable into few monotone subsequences
2025 (engelsk)Inngår i: Theoretical Computer Science, ISSN 0304-3975, E-ISSN 1879-2294, Vol. 1037, artikkel-id 115158Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

We study the time complexity of computing the (min⁡,+) matrix product of two n×n integer matrices in terms of n and the number of monotone subsequences the rows of the first matrix and the columns of the second matrix can be decomposed into. In particular, we show that if each row of the first matrix can be decomposed into at most m1 monotone subsequences and each column of the second matrix can be decomposed into at most m2 monotone subsequences such that all the subsequences are non-decreasing or all of them are non-increasing then the (min⁡,+) product of the matrices can be computed in O(m1m2n2.569) time. On the other hand, we observe that if all the rows of the first matrix are non-decreasing and all columns of the second matrix are non-increasing or vice versa then this case is as hard as the general one. We also present six cases of the restrictions on the input integer matrices under which the problem of computing the (min⁡,+) matrix product is equally hard as that of computing the minimum and maximum witnesses of Boolean matrix product. Similarly, we also study the time complexity of computing the (min⁡,+) convolution of two n-dimensional integer vectors in terms of n and the number of monotone subsequences the two vectors can be decomposed into. We show that if the first vector can be decomposed into at most m1 monotone subsequences and the second vector can be decomposed into at most m2 subsequences such that all the subsequences of the first vector are non-decreasing and all the subsequences of the second vector are non-increasing or vice versa then their (min⁡,+) convolution can be computed in O˜(m1m2n1.5) time. On the other, the case when both sequences of consecutive coordinates of the vectors are non-decreasing or both of them are non-increasing is as hard as the general case. Finally, we present six cases of the restrictions on the input integer vectors under which the problem of computing the (min⁡,+) vector convolution is equally hard as that of computing the minimum and maximum witnesses of the Boolean vector convolution.

sted, utgiver, år, opplag, sider
Elsevier, 2025
Emneord
(min⁡, +) convolution, (min⁡, +) matrix product, All-pairs shortest-paths problem (APSP), Monotone sequence, Time complexity
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-75030 (URN)10.1016/j.tcs.2025.115158 (DOI)001449966600001 ()2-s2.0-105000034918 (Scopus ID)
Tilgjengelig fra: 2025-04-01 Laget: 2025-04-01 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Jansson, J., Kowaluk, M., Lingas, A. & Persson, M. (2025). Multiplication of 0-1 Matrices via Clustering. In: Vincent Chau; Christoph Dürr; Minming Li; Pinyan Lu (Ed.), Frontiers of Algorithmics: 19th International Joint Conference, IJTCS-FAW 2025, Paris, France, June 30 – July 2, 2025, Proceedings. Paper presented at 19th International Joint Conference on Theoretical Computer Science-Frontier of Algorithmic Wisdom, IJTCS-FAW 2025, 30 Jun-02 Jul 2025, Paris, France (pp. 92-102). Springer Nature, 15828 LNCS
Åpne denne publikasjonen i ny fane eller vindu >>Multiplication of 0-1 Matrices via Clustering
2025 (engelsk)Inngår i: Frontiers of Algorithmics: 19th International Joint Conference, IJTCS-FAW 2025, Paris, France, June 30 – July 2, 2025, Proceedings / [ed] Vincent Chau; Christoph Dürr; Minming Li; Pinyan Lu, Springer Nature , 2025, Vol. 15828 LNCS, s. 92-102Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

We study applications of clustering (in particular the k-center clustering problem) in the design of efficient and practical deterministic algorithms for computing an approximate and the exact arithmetic matrix product of two 0-1 rectangular matrices A and B with clustered rows or columns, respectively. Let λA and λB denote the minimum maximum radius of a cluster in an ℓ-center clustering of the rows of A and in a k-center clustering of the columns of B,  respectively. In particular, when A and B are square matrices of size n×n, we obtain the following results. A simple deterministic algorithm that approximates each entry of the arithmetic matrix product of A and B within an additive error of at most 2λA in O(n2ℓ) time or at most 2λB in O(n2k) time.A simple deterministic preprocessing of the matrices A and B in O(n2ℓ) time or O(n2k) time after which every query asking for the exact value of an arbitrary entry of the arithmetic matrix product of A and B can be answered in O(λA) time or O(λB) time, respectively.A simple deterministic algorithm for the exact arithmetic matrix product of A and B running in time O(n2(ℓ+k+min{λA,λB})). A simple deterministic algorithm that approximates each entry of the arithmetic matrix product of A and B within an additive error of at most 2λA in O(n2ℓ) time or at most 2λB in O(n2k) time. A simple deterministic preprocessing of the matrices A and B in O(n2ℓ) time or O(n2k) time after which every query asking for the exact value of an arbitrary entry of the arithmetic matrix product of A and B can be answered in O(λA) time or O(λB) time, respectively. A simple deterministic algorithm for the exact arithmetic matrix product of A and B running in time O(n2(ℓ+k+min{λA,λB})).

sted, utgiver, år, opplag, sider
Springer Nature, 2025
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15828
Emneord
arithmetic matrix multiplication, clustering, Hamming space, minimum spanning tree
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-78830 (URN)10.1007/978-981-96-8312-3_7 (DOI)001547050800007 ()2-s2.0-105010825920 (Scopus ID)978-981-96-8311-6 (ISBN)978-981-96-8312-3 (ISBN)
Konferanse
19th International Joint Conference on Theoretical Computer Science-Frontier of Algorithmic Wisdom, IJTCS-FAW 2025, 30 Jun-02 Jul 2025, Paris, France
Tilgjengelig fra: 2025-08-11 Laget: 2025-08-11 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Lingas, A. & Persson, M. (2023). (min, + ) Matrix and Vector Products for Inputs Decomposable into Few Monotone Subsequences. In: Weili Wu, Guangmo Tong (Ed.), Computing and Combinatorics: 29th International Conference, COCOON 2023, Hawaii, HI, USA, December 15–17, 2023, Proceedings, Part II. Paper presented at Computing and Combinatorics 29th International Conference, COCOON 2023, Hawaii, HI, USA, December 15–17, 2023 (pp. 55-68). Springer
Åpne denne publikasjonen i ny fane eller vindu >>(min, + ) Matrix and Vector Products for Inputs Decomposable into Few Monotone Subsequences
2023 (engelsk)Inngår i: Computing and Combinatorics: 29th International Conference, COCOON 2023, Hawaii, HI, USA, December 15–17, 2023, Proceedings, Part II / [ed] Weili Wu, Guangmo Tong, Springer, 2023, s. 55-68Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

We study the time complexity of computing the (min, + ) matrix product of two n× n integer matrices in terms of n and the number of monotone subsequences the rows of the first matrix and the columns of the second matrix can be decomposed into. In particular, we show that if each row of the first matrix can be decomposed into at most m1 monotone subsequences and each column of the second matrix can be decomposed into at most m2 monotone subsequences such that all the subsequences are non-decreasing or all of them are non-increasing then the (min, + ) product of the matrices can be computed in O(m1m2n2.569) time. On the other hand, we observe that if all the rows of the first matrix are non-decreasing and all columns of the second matrix are non-increasing or vice versa then this case is as hard as the general one. Similarly, we also study the time complexity of computing the (min, + ) convolution of two n-dimensional integer vectors in terms of n and the number of monotone subsequences the two vectors can be decomposed into. We show that if the first vector can be decomposed into at most m1 monotone subsequences and the second vector can be decomposed into at most m2 subsequences such that all the subsequences of the first vector are non-decreasing and all the subsequences of the second vector are non-increasing or vice versa then their (min, + ) convolution can be computed in O~ (m1m2n1.5) time. On the other, the case when both vectors are non-decreasing or both of them are non-increasing is as hard as the general case.

sted, utgiver, år, opplag, sider
Springer, 2023
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 14423
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-64866 (URN)10.1007/978-3-031-49193-1_5 (DOI)2-s2.0-85180531292 (Scopus ID)978-3-031-49192-4 (ISBN)978-3-031-49193-1 (ISBN)
Konferanse
Computing and Combinatorics 29th International Conference, COCOON 2023, Hawaii, HI, USA, December 15–17, 2023
Tilgjengelig fra: 2024-01-08 Laget: 2024-01-08 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Lingas, A., Persson, M. & Sledneu, D. (2022). An Output-Sensitive Algorithm for All-Pairs Shortest Paths in Directed Acyclic Graphs. In: CALDAM 2022: Algorithms and Discrete Applied Mathematic. Paper presented at Conference on Algorithms and Discrete Applied Mathematics 2022 (pp. 140-151). Springer
Åpne denne publikasjonen i ny fane eller vindu >>An Output-Sensitive Algorithm for All-Pairs Shortest Paths in Directed Acyclic Graphs
2022 (engelsk)Inngår i: CALDAM 2022: Algorithms and Discrete Applied Mathematic, Springer, 2022, s. 140-151Konferansepaper, Publicerat paper (Fagfellevurdert)
Abstract [en]

First, we present a new algorithm for the single-source shortest paths problem (SSSP) in edge-weighted directed graphs, with n vertices, m edges, and both positive and negative real edge weights. Given a positive integer parameter t, in O(tm) time the algorithm finds for each vertex v a path distance from the source to v not exceeding that yielded by the shortest path from the source to v among the so called t+ light paths. A directed path between two vertices is t+ light if it contains at most t more edges than the minimum edge-cardinality directed path between these vertices. For t= O(n), our algorithm yields an O(nm)-time solution to SSSP in directed graphs with real edge weights matching that of Bellman and Ford. Our main contribution is a new, output-sensitive algorithm for the all-pairs shortest paths problem (APSP) in directed acyclic graphs (DAGs) with positive and negative real edge weights. The running time of the algorithm depends on such parameters as the number of leaves in (lexicographically first) shortest-paths trees, and the in-degrees in the input graph. If the trees are sufficiently thin on the average, the algorithm is substantially faster than the best known algorithm. Finally, we discuss an extension of hypothetical improved upper time-bounds for APSP in non-negatively edge-weighted DAGs to include directed graphs with a polynomial number of large directed cycles.

sted, utgiver, år, opplag, sider
Springer, 2022
Serie
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13179
Emneord
Directed graphs, Forestry, Graphic methods, Trees (mathematics), All pairs shortest paths, Directed paths, Integer parameters, Output-sensitive algorithm, Parameter T, Positive integers, Real edge weights, Shortest path problem, Single source shortest path problems, Weighted directed graph, Parameter estimation
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-54295 (URN)10.1007/978-3-030-95018-7_12 (DOI)001433483700012 ()2-s2.0-85124662790 (Scopus ID)978-3-030-95017-0 (ISBN)978-3-030-95018-7 (ISBN)
Konferanse
Conference on Algorithms and Discrete Applied Mathematics 2022
Tilgjengelig fra: 2022-08-03 Laget: 2022-08-03 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Gasieniec, L., Jansson, J., Levcopoulos, C., Lingas, A. & Persson, M. (2021). Pushing the Online Boolean Matrix-vector Multiplication conjecture off-line and identifying its easy cases. Journal of computer and system sciences (Print), 118, 108-118
Åpne denne publikasjonen i ny fane eller vindu >>Pushing the Online Boolean Matrix-vector Multiplication conjecture off-line and identifying its easy cases
Vise andre…
2021 (engelsk)Inngår i: Journal of computer and system sciences (Print), ISSN 0022-0000, E-ISSN 1090-2724, Vol. 118, s. 108-118Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

Henzinger et al. posed the so-called Online Boolean Matrix-vector Multiplication (OMv) conjecture and showed that it implies tight hardness results for several basic dynamic or partially dynamic problems [STOC'15]. We first show that the OMv conjecture is implied by a simple off-line conjecture that we call the MvP conjecture. We then show that if the definition of the OMv conjecture is generalized to allow individual (i.e., it might be different for different matrices) polynomial-time preprocessing of the input matrix, then we obtain another conjecture (called the OMvP conjecture) that is in fact equivalent to our MvP conjecture. On the other hand, we demonstrate that the OMv conjecture does not hold in restricted cases where the rows of the matrix or the input vectors are clustered, and develop new efficient randomized algorithms for such cases. Finally, we present applications of our algorithms to answering graph queries. (c) 2021 Elsevier Inc. All rights reserved.

sted, utgiver, år, opplag, sider
Elsevier, 2021
Emneord
Boolean matrix, Product of matrix and vector, Dynamic graph problems, Online computation, Time complexity
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-41520 (URN)10.1016/j.jcss.2020.12.004 (DOI)000615930900005 ()2-s2.0-85099348676 (Scopus ID)
Tilgjengelig fra: 2021-04-01 Laget: 2021-04-01 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Lingas, A. & Persson, M. (2020). Computing the Boolean Product of Two n x n Boolean Matrices Using O(n(2)) Mechanical Operations. International Journal of Unconventional Computing, 15(3), 225-236
Åpne denne publikasjonen i ny fane eller vindu >>Computing the Boolean Product of Two n x n Boolean Matrices Using O(n(2)) Mechanical Operations
2020 (engelsk)Inngår i: International Journal of Unconventional Computing, ISSN 1548-7199, E-ISSN 1548-7202, Vol. 15, nr 3, s. 225-236Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

We study the problem of determining the Boolean product of two n x n Boolean matrices in an unconventional computational model allowing for mechanical operations. We show that O(n(2)) operations are sufficient to compute the product in this model.

sted, utgiver, år, opplag, sider
OLD CITY PUBLISHING INC, 2020
Emneord
Boolean matrix multiplication, Boolean matrix-vector multiplication, mechanical computing, time complexity
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-17877 (URN)000540896600006 ()2-s2.0-85090024222 (Scopus ID)
Tilgjengelig fra: 2020-08-04 Laget: 2020-08-04 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Dereniowski, D., Lingas, A., Osula, D., Persson, M. & Zylinski, P. (2019). Clearing directed subgraphs by mobile agents Variations on covering with paths (ed.). Journal of computer and system sciences (Print), 102, 57-68
Åpne denne publikasjonen i ny fane eller vindu >>Clearing directed subgraphs by mobile agents Variations on covering with paths
Vise andre…
2019 (engelsk)Inngår i: Journal of computer and system sciences (Print), ISSN 0022-0000, E-ISSN 1090-2724, Vol. 102, s. 57-68Artikkel i tidsskrift (Fagfellevurdert) Published
Abstract [en]

We study several problems of clearing subgraphs by mobile agents in digraphs. The agents can move only along directed walks of a digraph and, depending on the variant, their initial positions may be pre-specified. In general, for a given subset S of vertices of a digraph D and a positive integer k, the objective is to determine whether there is a subgraph H = (V-H, A(H)) of D such that (a) S subset of V-H, (b) H is the union of k directed walks in D, and (c) the underlying graph of H includes a Steiner tree for S in D. Since a directed walk is a not necessarily a simple directed path, the problem is actually on covering with paths. We provide several results on the polynomial time tractability, hardness, and parameterized complexity of the problem. Our main fixed-parameter algorithm is randomized. (C) 2018 Elsevier Inc. All rights reserved.

sted, utgiver, år, opplag, sider
Elsevier, 2019
Emneord
Covering with paths, FPT-algorithm, NP-hardness, Monomial
HSV kategori
Identifikatorer
urn:nbn:se:mau:diva-2464 (URN)10.1016/j.jcss.2018.11.002 (DOI)000460197100005 ()2-s2.0-85057120191 (Scopus ID)30115 (Lokal ID)30115 (Arkivnummer)30115 (OAI)
Tilgjengelig fra: 2020-02-27 Laget: 2020-02-27 Sist oppdatert: 2026-02-17bibliografisk kontrollert
Organisasjoner
Identifikatorer
ORCID-id: ORCID iD iconorcid.org/0000-0002-2316-2235