Learn R Programming

ecr (version 1.0)

computeAverageHausdorffDistance: Average Hausdorff Distance computation.

Description

Computes the average Hausdroff distance measure between two point sets.

Usage

computeAverageHausdorffDistance(A, B, p = 1, dist.fun = computeEuclideanDistance)

Arguments

A
[matrix] First point set (each column corresponds to a point).
B
[matrix] Second point set (each column corresponds to a point).
p
[numeric(1)] Parameter p of the average Hausdoff metrix. Default is 1. See the description for details.
dist.fun
[matrix] Distance function to compute distance between points x and y. Expects a single numeric vector d with the coordinate-wise differences di = (xi - yi). Default is computeEuclideanDist.

Value

[numeric(1)] Average Hausdorff distance of sets A and B.