Malmö University Publications
Change search
Link to record
Permanent link

Direct link
Publications (10 of 25) Show all publications
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
Open this publication in new window or tab >>Approximate All-Pairs Hamming Distances and 0–1 Matrix Multiplication
2026 (English)In: 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, p. 38-49Conference paper, Published paper (Refereed)
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.)

Place, publisher, year, edition, pages
Springer Nature, 2026
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 16423
National Category
Computer Sciences
Identifiers
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)
Conference
Third International Conference on Applied Algorithms, ICAA 2026, Kolkata, India, January 7–9, 2026
Available from: 2026-01-13 Created: 2026-01-13 Last updated: 2026-02-09Bibliographically approved
Kowaluk, M., Lingas, A. & Persson, M. (2026). Fast Approximate ℓ-Center Clustering in High-Dimensional Spaces. Algorithms, 19(3), Article ID 243.
Open this publication in new window or tab >>Fast Approximate ℓ-Center Clustering in High-Dimensional Spaces
2026 (English)In: Algorithms, E-ISSN 1999-4893, Vol. 19, no 3, article id 243Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
MDPI, 2026
Keywords
ℓ2 distance, Euclidean space, Hamming distance, Hamming space, clustering, approximation algorithm, time complexity
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-83581 (URN)10.3390/a19030243 (DOI)001724982400001 ()
Available from: 2026-04-07 Created: 2026-04-07 Last updated: 2026-04-07Bibliographically approved
Lingas, A. & Persson, M. (2025). (min⁡,+) matrix and vector products for inputs decomposable into few monotone subsequences. Theoretical Computer Science, 1037, Article ID 115158.
Open this publication in new window or tab >>(min⁡,+) matrix and vector products for inputs decomposable into few monotone subsequences
2025 (English)In: Theoretical Computer Science, ISSN 0304-3975, E-ISSN 1879-2294, Vol. 1037, article id 115158Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
Elsevier, 2025
Keywords
(min⁡, +) convolution, (min⁡, +) matrix product, All-pairs shortest-paths problem (APSP), Monotone sequence, Time complexity
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-75030 (URN)10.1016/j.tcs.2025.115158 (DOI)001449966600001 ()2-s2.0-105000034918 (Scopus ID)
Available from: 2025-04-01 Created: 2025-04-01 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>Multiplication of 0-1 Matrices via Clustering
2025 (English)In: 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, p. 92-102Conference paper, Published paper (Refereed)
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})).

Place, publisher, year, edition, pages
Springer Nature, 2025
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15828
Keywords
arithmetic matrix multiplication, clustering, Hamming space, minimum spanning tree
National Category
Computer Sciences
Identifiers
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)
Conference
19th International Joint Conference on Theoretical Computer Science-Frontier of Algorithmic Wisdom, IJTCS-FAW 2025, 30 Jun-02 Jul 2025, Paris, France
Available from: 2025-08-11 Created: 2025-08-11 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>(min, + ) Matrix and Vector Products for Inputs Decomposable into Few Monotone Subsequences
2023 (English)In: 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, p. 55-68Conference paper, Published paper (Refereed)
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.

Place, publisher, year, edition, pages
Springer, 2023
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 14423
National Category
Computer Sciences
Identifiers
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)
Conference
Computing and Combinatorics 29th International Conference, COCOON 2023, Hawaii, HI, USA, December 15–17, 2023
Available from: 2024-01-08 Created: 2024-01-08 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>An Output-Sensitive Algorithm for All-Pairs Shortest Paths in Directed Acyclic Graphs
2022 (English)In: CALDAM 2022: Algorithms and Discrete Applied Mathematic, Springer, 2022, p. 140-151Conference paper, Published paper (Refereed)
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.

Place, publisher, year, edition, pages
Springer, 2022
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 13179
Keywords
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
National Category
Mathematics
Identifiers
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)
Conference
Conference on Algorithms and Discrete Applied Mathematics 2022
Available from: 2022-08-03 Created: 2022-08-03 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>Pushing the Online Boolean Matrix-vector Multiplication conjecture off-line and identifying its easy cases
Show others...
2021 (English)In: Journal of computer and system sciences (Print), ISSN 0022-0000, E-ISSN 1090-2724, Vol. 118, p. 108-118Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
Elsevier, 2021
Keywords
Boolean matrix, Product of matrix and vector, Dynamic graph problems, Online computation, Time complexity
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-41520 (URN)10.1016/j.jcss.2020.12.004 (DOI)000615930900005 ()2-s2.0-85099348676 (Scopus ID)
Available from: 2021-04-01 Created: 2021-04-01 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>Computing the Boolean Product of Two n x n Boolean Matrices Using O(n(2)) Mechanical Operations
2020 (English)In: International Journal of Unconventional Computing, ISSN 1548-7199, E-ISSN 1548-7202, Vol. 15, no 3, p. 225-236Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
OLD CITY PUBLISHING INC, 2020
Keywords
Boolean matrix multiplication, Boolean matrix-vector multiplication, mechanical computing, time complexity
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-17877 (URN)000540896600006 ()2-s2.0-85090024222 (Scopus ID)
Available from: 2020-08-04 Created: 2020-08-04 Last updated: 2026-02-17Bibliographically approved
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
Open this publication in new window or tab >>Clearing directed subgraphs by mobile agents Variations on covering with paths
Show others...
2019 (English)In: Journal of computer and system sciences (Print), ISSN 0022-0000, E-ISSN 1090-2724, Vol. 102, p. 57-68Article in journal (Refereed) 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.

Place, publisher, year, edition, pages
Elsevier, 2019
Keywords
Covering with paths, FPT-algorithm, NP-hardness, Monomial
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-2464 (URN)10.1016/j.jcss.2018.11.002 (DOI)000460197100005 ()2-s2.0-85057120191 (Scopus ID)30115 (Local ID)30115 (Archive number)30115 (OAI)
Available from: 2020-02-27 Created: 2020-02-27 Last updated: 2026-02-17Bibliographically approved
Gąsieniec, L., Jansson, J., Levcopoulos, C., Lingas, A. & Persson, M. (2019). Pushing the Online Matrix-Vector Conjecture Off-Line and Identifying Its Easy Cases. In: Yijia Chen; Xiaotie Deng; Mei Lu (Ed.), Frontiers in Algorithmics: 13th International Workshop, FAW 2019, Sanya, China, April 29 – May 3, 2019, Proceedings. Paper presented at 13th International Workshop, FAW 2019, Sanya, China, April 29 – May 3, 2019 (pp. 156-169). Springer
Open this publication in new window or tab >>Pushing the Online Matrix-Vector Conjecture Off-Line and Identifying Its Easy Cases
Show others...
2019 (English)In: Frontiers in Algorithmics: 13th International Workshop, FAW 2019, Sanya, China, April 29 – May 3, 2019, Proceedings / [ed] Yijia Chen; Xiaotie Deng; Mei Lu, Springer, 2019, p. 156-169Conference paper, Published paper (Refereed)
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 partially dynamic or dynamic problems [STOC’15].

We show that the OMv conjecture is implied by a simple off-line conjecture. If a not uniform (i.e., it might be different for different matrices) polynomial-time preprocessing of the matrix in the OMv conjecture is allowed then we can show such a variant of the OMv conjecture to be equivalent to our off-line conjecture. On the other hand, we show that the OMV conjecture does not hold in the restricted cases when the rows of the matrix or the input vectors are clustered.

Place, publisher, year, edition, pages
Springer, 2019
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 11458
Keywords
Boolean matrix, Product of matrix and vector, Dynamic graph problems, Online computation, Time complexity
National Category
Computer Sciences
Identifiers
urn:nbn:se:mau:diva-64600 (URN)10.1007/978-3-030-18126-0_14 (DOI)001547183800014 ()2-s2.0-85065315076 (Scopus ID)978-3-030-18125-3 (ISBN)978-3-030-18126-0 (ISBN)
Conference
13th International Workshop, FAW 2019, Sanya, China, April 29 – May 3, 2019
Available from: 2023-12-19 Created: 2023-12-19 Last updated: 2026-02-17Bibliographically approved
Organisations
Identifiers
ORCID iD: ORCID iD iconorcid.org/0000-0002-2316-2235

Search in DiVA

Show all publications