For each possible percept sequence, it selects the action that maximizes expected performance.