3 research outputs found

    36th International Symposium on Theoretical Aspects of Computer Science: STACS 2019, March 13-16, 2019, Berlin, Germany

    Get PDF

    Computing Correlation between Piecewise-Linear Functions

    No full text
    We study the problem of computing correlation between two piecewise-linear bivariate functions defined over a common domain, where the surfaces they define in 3D—polyhedral terrains—can be transformed vertically by a linear transformation of the third coordinate (scaling and translation). We present a randomized algorithm that minimizes the maximum vertical distance between the graphs of the two functions, over all linear transformations of one of the terrains, in O(n 4/3 polylog n) expected time, where n is the total number of vertices in the graphs of the two functions. We also present approximation algorithms for minimizing the mean distance between the graphs of univariate and bivariate functions. For univariate functions we present a (1 + Δ)-approximation algorithm that runs in O(n(1 + log 2 (1/Δ))) expected time, for any fixed Δ> 0. The (1 + Δ)-approximation algorithm for bivariate functions runs in O(n/Δ) time, for any fixed Δ> 0, provided the two functions are defined over the same triangulation of their domain

    Computing correlation between piecewise-linear functions

    No full text
    We study the problem of computing correlation between two piecewise-linear bivariate functions defined over a common domain, where the surfaces they define in three dimensions---polyhedral terrains---can be transformed vertically by a linear transformation of the third coordinate (scaling and translation). We present a randomized algorithm that minimizes the maximum vertical distance between the graphs of the two functions, over all linear transformations of one of the terrains, in O(n4/3polylog⁥n)O(n^{4/3}\operatorname{polylog}n) expected time, where nn is the total number of vertices in the graphs of the two functions. We also present approximation algorithms for minimizing the mean distance between the graphs of univariate and bivariate functions. For univariate functions we present a (1+Δ)(1+\varepsilon)-approximation algorithm that runs in O(n(1+log⁥2(1/Δ)))O(n (1 + \log^2 (1/\varepsilon))) expected time for any fixed Δ>0\varepsilon >0. The (1+Δ)(1+\varepsilon)-approximation algorithm for bivariate functions runs in O(n/Δ)O(n/\varepsilon) time, for any fixed Δ>0\varepsilon >0, provided the two functions are defined over the same triangulation of their domain.Peer Reviewe
    corecore