Reduction from Negative Triangle Detection to Metricity

From Algorithm Wiki
Jump to navigation Jump to search

FROM: Negative Triangle Detection TO: Metricity

Description

Implications

if: to-time: $O(n^{2}) + T(O(n), O(M))$ where the metricity problem is on $(n)$ s.t. all distances are in $(-M, M)$, and $T(n,M)$ is nondecreasing
then: from-time: $O(n^{2}) + T(O(n), O(M))$

Year

2018

Reference

V. V. Williams, R. R. Williams, Subcubic Equivalences Between Path, Matrix, and Triangle Problems. 2018.

https://dl-acm-org.ezproxy.canberra.edu.au/doi/pdf/10.1145/3186893, Theorem 5.2