Builder for Goal instances.
Creates an instance of Goal based on the builder's configuration.
Sets the condition function for the goal.
Sets the cost function for the goal.
Sets the description of the goal.
Sets the name of the goal.
Sets the value function for the goal.