An AI scientist placed an agent in a known environment. The agent observed changes in the environment. Soon, it began to take action toward making a decision. What was the agent doing?

A.
offline computation
B.
online computation
C.
learning
D.
perceiving