A class of nonadditive functions