Heuristics: The Foundations of Adaptive Behavior