Generalized convexity for applications in decision theory