Preview

Algorithms Test

Good Essays
Open Document
Open Document
640 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Algorithms Test
Pradeep reddy Pinninti - 85025

1- Depth-first search always expands at least as many nodes as A* search with an admissible heuristic
FALSE.
Depth-first search may possibly, sometimes, expand fewer nodes than A* search with an admissible heuristic.
E.g., it is logically possible that sometimes, by good luck, depth-first search may march directly to the goal with no back-tracking.

2- h(n) = 0 is an admissible heuristic for the 8-puzzle TRUE. h(n)=0 NEVER over-estimates the remaining optimal distance to a goal node.

3- A* is of no use in robotics because percepts, states, and actions are continuous
FALSE,
the continuous spaces can be discretized. A* (or variants) are widely used

4- Breadth-first search is complete even if zero step costs are allowed.
TRUE
Because if there exists a goal it occurs at finite depth d and will be found in O(bd) steps.
“Complete” means “will find a goal when one exists” --- and does NOT imply “optimal,” which means “will find a lowest-cost goal when one exists.” Thus, the step costs are irrelevant to “Complete.”

5- Assume that a rook can move on a chessboard any number of squares in a straight line, vertically or horizontally, but cannot jump over other pieces. Manhattan distance is an admissible heuristic for the problem of moving the rook from square A to square B in the smallest number of moves.
FALSE
The Manhattan distance may over-estimate the optimal remaining number of moves to the goal because a rook may cover several squares in a single move. NOTE: If the path cost instead were the number of squares covered, then Manhattan distance would be admissible

6- Breadth-first search is a special case of uniform-cost search.
When all step costs are equal, g(n) ? depth(n), so uniform-cost search reproduces breadth-first search

7- Depth-first search is a special case of best-first tree search.
Depth-first search is best-first search with f(n) = −depth(n); breadth-first search is best-first search with f(n) = depth(n);

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Consequently, if the advantage of A against the proposed scheme is ϵ, the success probability of the algorithm C against the DDH challenge is at least ϵ/(e(m!q_T+1)).…

    • 111 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Cse 373 Final Note

    • 955 Words
    • 4 Pages

    Null Path: The path length of the given node to the nearest descendant null node of the binary tree…

    • 955 Words
    • 4 Pages
    Good Essays
  • Good Essays

    In this way, the assignment algorithm will converge faster without affecting the network performance. The edgetrimming strategy must follow these design objectives:…

    • 8009 Words
    • 33 Pages
    Good Essays
  • Good Essays

    UNV103

    • 793 Words
    • 4 Pages

    This is a specific goal because it has a measureable objective and is specific in the end result.…

    • 793 Words
    • 4 Pages
    Good Essays
  • Better Essays

    Goals should be set, with targets along the way to reach the agreed goals. This ensures a sense of achievement all along the way, giving direction to where the learners want to be. Moving forward with the learning, broken down into:…

    • 2240 Words
    • 9 Pages
    Better Essays
  • Powerful Essays

    Exam on Algorithms

    • 1238 Words
    • 5 Pages

    If you replaced the line LET Y = X/3 by the line LET Y = X/5, how would this change the outcome of the above?…

    • 1238 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    manage own performance

    • 1200 Words
    • 4 Pages

    Benefits: Having a target shows you the path that you want to take, you can then agree on the most effective way to achieve the target and also create a plan that will give you a time scale of things to be done. This brings fast and reliable compliance to the tasks at hand.…

    • 1200 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Utah Opera Merger Essay

    • 2310 Words
    • 10 Pages

    5. Task complexity – To facilitate success, goals are necessary. The conditions around the goals, i.e. the complexity, should not discourage or restrain a person from obtaining the objective set by the goal (MindTools, 1996-2011).…

    • 2310 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    restorative justice

    • 318 Words
    • 2 Pages

    My objective in everything I do, is succes. Being more clear and specific, success is conceiving of its possibility. Conceiving and believing, however, will not lead to success if there is no achievement. To achieve means to attain with effort or despite difficulty. Opening yourself to new ideas. Find one that you can put your faith in, and then diligently do the day to day work of achievement.…

    • 318 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Problem Set 1

    • 739 Words
    • 3 Pages

    (a) Are there any strictly dominated strategies? Are there any weakly dominated strategies? If so, explain what dominates what and how. (b) After deleting any strictly or weakly dominated strategies, are there any strictly or weakly dominated strategies in the `reduced' game? If so, explain what dominates what and how. What is left? (c) Go back to your argument for deleting in the rst `round' and recall what dominated what and how. Compare this with what was deleted in the `second' round. Comment on how this might make you a bit cautious when iteratively deleting weakly dominated strategies? 3. Hotelling's Location Game. Recall the voting game we discussed in class. There are two candidates, each of whom chooses a position from the set Si := f1; 2; : : : ; 10g. The voters are equally distributed across these ten positions. Voters vote for the candidate whose position is closest to theirs. If the two candidates are equidistant from a given position, the voters at that position split their votes equally. The aim of the candidates is to maximize their percentage of the total vote. Thus, for example,…

    • 739 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Let G be a finite connected, undirected graph, with G(E,V), where E is the set of all edges and V is the set of all vertices. Let there be two players on the graph, such that player 1 is the Robber R and player 2 is the cop C, who play a game S on G according to the following rules: first the cop C and then the robber R choose vertices on which they position themselves. Then they in turn, alternatively along the edges of G. The cop player c wins if he ever succeeds in catching the robber, i.e, occupying the same vertex as the robber player R at some point in the game. Correspondingly, the robber player R wins if he manages to always evade the cop player, i.e., not occupying the same vertex as the cop player C. This game is a perfect information game where both the cop player c and the robber player R can see the entire graph and each others information. The game in the form as just described, i.e. with complete information on both sides, has also been studied by Aigner and Fromme[1], Nowakowski and Winkler[2], Quilliot[3] and possibly others. Let τ denote the set of cop win strategies on a…

    • 3140 Words
    • 13 Pages
    Good Essays
  • Powerful Essays

    * Even when this search approach works, the problems are often resolved with a suboptimal solution due to the limited search of solution space.…

    • 1623 Words
    • 7 Pages
    Powerful Essays
  • Satisfactory Essays

    unit 44 p1

    • 573 Words
    • 2 Pages

    This is a SMART target because it is Specific, Measurable, Attainable, Relevant and Time-bound because I set a plan out on how and what I was going to do to achieve stage one, I didn’t get all distinctions but in some units I did and therefor achieved this target.…

    • 573 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Atomic Theories

    • 254 Words
    • 2 Pages

    * You can know either where an object is or where it’s going but not at the same time…

    • 254 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    No crossing branches constraint - If X precedes Y, then X and all nodes dominated by X must precede Y and all nodes dominated by Y…

    • 392 Words
    • 2 Pages
    Satisfactory Essays