Regularity of the Optimal Sets for a Class of Integral Shape Functionals | Synapse