p is the distribution you are calculating from real samples, q is the distribution from the particle filter, i is the grid cell number -- so you are calculating the divergence between all the grid cells and summing. Ignore the integral, in this case, it is a sum.
p is the distribution you are calculating from real samples, q is the distribution from the particle filter, i is the grid cell number -- so you are calculating the divergence between all the grid cells and summing. Ignore the integral, in this case, it is a sum.