Adaptive selection of problem solving strategies.