The strategy behavioral pattern allows you to define multiple ways to perform some action and then select the best approach.