trajminer.utils.distance.discrete

class trajminer.utils.distance.discrete

Computes the discrete distance between two objects.

xobject

Any object.

yobject

Any object.

distancefloat

Returns 0.0 if x == y, 1.0 otherwise.

__init__(**kwargs)

Initialize self. See help(type(self)) for accurate signature.