What is the primary role of a utility function in a utility-based agent?

Options

  • A. To measure the desirability or usefulness of possible outcomes
  • B. To convert machine code into source code
  • C. To identify only the physical sensors of an agent
  • D. More than one of the above
  • E. None of the above

Correct Answer (Detailed Explanation is Below)

A. To measure the desirability or usefulness of possible outcomes

Detailed Explanation

A utility-based agent evaluates possible outcomes using a utility function. The utility value represents how desirable an outcome is, allowing the agent to choose among alternatives when several actions can achieve a goal.