  We consider a class of nonlocal generalized perimeters which includes
fractional perimeters and Riesz type potentials. We prove a general
isoperimetric inequality for such functionals, and we discuss some
applications. In particular we prove existence of an isoperimetric profile,
under suitable assumptions on the interaction kernel.
