The doctrine of the Cyrenaics that pleasure is the end of life, and the measure of virtue, or the summum bonum .