Artificial Intelligence: A Modern Approach
3rd Edition
ISBN: 9780136042594
Author: Stuart Russell, Peter Norvig
Publisher: Prentice Hall
expand_more
expand_more
format_list_bulleted
Concept explainers
Question
Chapter 4, Problem 7E
Program Plan Intro
Figure 4.14:
Admissible heuristic:
A heuristic h(s) is admissible, if for every node n,
h(s) ≤ h*(s) is the true cost to reach the goal state from n
An admissible heuristic never over estimates the cost to reach the goal. That is optimistic.
Sensorless search problem defines by four items. That are given below,
- 1. Initial state
- 2. Description of action: successor function h(s) = set of action-state pairs
- 3. Goal test, can be
- Explicit
- Implicit
- 4 Path cost. It reflects the performance measure.
An admissible heuristic can be obtained by taking maximum of h*(s). Since any sequences of actions that solve all states would solve each state, this heuristic is admissible.
A* search
- The A* search algorithm is a search algorithm used to search a particular node of a graph.
- A* algorithm is a variant of the best-first algorithm based on the use of heuristic methods to achieve optimality and completeness.
- The algorithm A* is an example of a best-first search algorithm.
- If a search algorithm has the property of optimality, it means that the best possible solution is guaranteed to be found. Here, the user wants the shortest path to the final state.
Expert Solution & Answer
Want to see the full answer?
Check out a sample textbook solutionStudents have asked these similar questions
For this problem, we will explore the issue of truthfulness in the StableMatching Problem and specifically in the Gale-Shapley algorithm. Thebasic question is: Can a man or a woman end up better off by lying abouthis or her preferences? More concretely, we suppose each participant hasa true preference order. Now consider a woman w. Suppose w prefers manm to m, but both m and m are low on her list of preferences. Can it be thecase that by switching the order of m and m on her list of preferences (i.e.,by falsely claiming that she prefers m to m) and running the algorithmwith this false preference list, w will end up with a man m that she trulyprefers to both m and m? (We can ask the same question for men, butwill focus on the case of women for purposes of this question.)Resolve this question by doing one of the following two things:
(a) Give a proof that, for any set of preference lists, switching theorder of a pair on the list cannot improve a woman’s partner in the GaleShapley…
If there exists a state such that h(s) which is less than the lowest cost path from s to the goal then,
is h(s) consistent or not? is h(s) admissible or not?
H- being the heurisitic
The Double SAT problem asks whether a given satisfiability problem has at least two
different satisfying assignments. For example, the problem {{V1, V2}, {V1, V2}, {V1, V2}}
is satisfiable, but has only one solution (v₁ = F, v₂ = T). In contrast, {{v₁, V2}, {V1, V2}}
has exactly two solutions. Show that Double-SAT is NP-hard.
Chapter 4 Solutions
Artificial Intelligence: A Modern Approach
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Similar questions
- 4. The matching game is played in a bipartite graph G = (V1, V2, E) in which edges are connect only vertices Vị to vertices in V2. The players are the vertices in the graph that is Vi U V2. Each player has to select one of its neighbors. Player i gets utility 1 when the selection is mutual (player i selects j and player j selects i) otherwise he gets 0. Provide a formal characterization of the strategy profiles that are pure Nash equilibrium of the matching game. Analyze the complexity of the problems related to pure Nash equilibria for this family of games.arrow_forwardDevelop a dynamic programming algorithm for the knapsack problem: given n items of know weights w1, . . . , wn and values v1, . . . ,vn and a knapsack of capacity W, find the most valuable subset of the items that fit into the knapsack. We assume that all the weights and the knapsack’s capacity are positive integers, while the item values are positive real numbers. (This is the 0-1 knapsack problem). Analyze the structure of an optimal solution. Give the recursive solution. Give a solution to this problem by writing pseudo code procedures. Analyze the running time for your algorithms.arrow_forwardComputer Science Suppose A ≈PPT B and let f be a function computable in probabilistic polynomial time on the (shared) domain of A, B. Show that f(A) ≈PPT f(B), where f(X ) denotes the distribution which arises from applying f to samples of X . Does the statement from the previous exercise hold even if f is not efficiently computable? Prove or give a counterexamplearrow_forward
- Subject : Artificial Intelligence Consider a best first search (BFS) algorithm that tries to find the optimal goal state with minimal cost. Consider heuristics h1, h2 with h1(n) > h2(n) for all states n. BFS with h1 is guaranteed to expand fewer nodes or an equal number of nodes to arrive at the optimal goal state than BFS with h2 Select one: True Falsearrow_forward3.1. The provision of high-quality drinking water remains one of the greatest environ- mental challenges for public health officials and water utilities worldwide. In order to ensure maximum water quality in distribution networks, proper attention must be given to the pressure head at nodal points (measured by pressure probes) and the demand consumption pattern (measured by telemetry meters) along the whole length of the distribution network. Suppose we have two fuzzy sets, P defined on a universe of three discrete pressures {x1, x2, x3}, and D defined on a uni- verse of two discrete demand consumptions {y1, y2}, where fuzzy set P represents the near-optimum pressure for high-quality drinking water and D represents the instantaneous demand (water demand) obtained from a time-series demand fore- casting. Thus, P and D represent the variable inputs and water quality represents the output. The Cartesian product represents the conditions (pressure-demand consumption) of the distribution…arrow_forwardConsider the knapsack problem: given n items of known weights w,., w, and values v,., v, and a knapsack of capacity W, find the most valuable subset of the items that fit int the knapcak . In order to design a dynamic programming algorithm, we have driven the recurrence relation below that expresses a solution to an instance of the knapsack problem in terms of solutions to its smaller subinstances. For 1 0 if j-w¿ 0 and F[i,0] = 0 for i > 0 2.1) Solve the knapsack instance given below using the recurrence given above. Apply the dynamic programming to the following instance of the knapsack problem where the capacity W = 4. Fill out the cells in the table using the recurrence given. Write your results to the table below. сараcity j item weight i 1 2 3 value $25 $22 1 1 2 2 25 25 25 25 $26 $27 3 1 25 25 47 47 4 26 51 4 26 i = 3 j= 3 F[3,3] = i = 3 j= 4 F[3,4] = i = 4 j = 2 F[4, 2] = i = 4 j= 3 F[4, 3] = i = 4 j= 4 F[4, 4] = 1. 2. 3.arrow_forward
- Consider the knapsack problem: given n items of known weights w,., w, and values v,., v, and a knapsack of capacity W, find the most valuable subset of the items that fit int the knapcak . In order to design a dynamic programming algorithm, we have driven the recurrence relation below that expresses a solution to an instance of the knapsack problem in terms of solutions to its smaller subinstances. For 1 0 if j-w 0 and F[i,0] = 0 for i > 0 2.1) Solve the knapsack instance given below using the recurrence given above. Apply the dynamic programming to the following instance of the knapsack problem where the capacity W = 4. Fill out the cells in the table using the recurrence given. You will not receive any credit if you do not use the recurrence relation. Write your results to the table below. сараcity j item weight i 1 2 3 value $25 $22 1 1 2 2 25 25 25 25 $26 $27 3 1 25 25 47 47 4 26 51 4 26 i = 3 j= 3 F[3,3] = i = 3 j= 4 F[3,4] = i = 4 j = 2 F[4, 2] = i = 4 j= 3 F[4, 3] = i = 4 j= 4…arrow_forward5. Let D be the distribution of training data and D′ be that of test data. A key condition under which classical PAC learning results hold is that D′ = D. Give an example to show that when D′ ̸= D, any learner with access to finite training data, even with unlimited computational power, may incur a high testing error.arrow_forwardInference in Bayesian networks is NP-hard in the worst case because it includes propositional logic inference as a special case. Write down a Bayesian network, where the nodes represent logical sentences, that implements modus ponens inference rule A ⇒ B, A infer B.arrow_forward
- 5. Let D be the distribution of training data and D' be that of test data. A key condition under which classical PAC learning results hold is that D' = D. Give an example to show that when D' # D, any learner with access to finite training data, even with unlimited computational power, may incur a high testing error.arrow_forwardLet P(x) and Q(x) be predicates and suppose D is the domain of x. For the statement forms in the given pair, determine whether they have the same truth value for every choice of P(x), Q(x), and D, or whether there is a choice of P(x), Q(x), and D for which they have opposite truth values. ∃x ∈ D, (P(x) ∧ Q(x)) and (∃x ∈ D, P(x)) ∧ (∃x ∈ D, Q(x))arrow_forwardWe discussed in class that with n agents, there are n! permutations of agents which results in n! different deterministic serial dictatorship mechanisms. Every serial dictatorship is strategyproof and results in a Pareto optimal outcome (ex post). Consider m >n items to be assigned to n agents. Propose a mechanism that: 1. receives as input a full ranked list (strict ordering; no ties) of items from each agent, and based on this input computes an outcome, 2. is Pareto optimal (aka Pareto efficient ex post), 3. is strategyproof (no agent can benefit from misreporting), 4. guarantees the outcome to be envy-free up to one item (EF1). For your answer, 1) justify that your proposed mechanism satisfies each of the items above and 2) given an example that shows the steps of your proposed mechanism.arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Operations Research : Applications and AlgorithmsComputer ScienceISBN:9780534380588Author:Wayne L. WinstonPublisher:Brooks Cole
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole