The Kernel Trick for Distances
Convolution kernels on discrete structures