This is a more general potentialE, which accounts for the fact that the expected number of points discovered along an edge depends on the BatchSize.
The object makeBatchPotential is a method function.