Question

In: Computer Science

1. What do we mean when we say to solve a two-player strategy game in a...

1. What do we mean when we say to solve a two-player strategy game in a a. ultra weak sense b. weak sense c. strong sense

2. Compare Depth-First Iterative Deepening method with Depth-First Search and Breadth- First Search. What are the pros and cons for each of these methods

Solutions

Expert Solution

1. Two Player Strategy Game:

Ultra-Weak:

Ultra weak sense can be a strategy in which we can prove that the player in the game can win, lose or draw from the beginning.

Weak:
From the start of the game in weak sense a procedure is provided by which we can make sure a player win or end the match with draw no matter how many turns of the 2nd player are left.

Strong:
In strong sense we can find a sequence of a steps to find exact moves for a player from any position to secure perfect win no matter how much mistakes you have made.

2. BFS vs DFS:

IDS:
   We use iterator in this.
   Only works in complete path (no infinite path)
   Time Complexity O(b^d)
   Space Complexity O(bd)
IDS does give optimal solution

Advantages:

IDS uses less memory as compare to BFS
IDS is more feasible than BFS because of the right amount of memory propotion

Disadvantages:

IDS takes a little longer time to complete because of visiting same nodes so many times.

BFS:
IN BFS we go from root then to left and then to right
It should be complete.
Time complexity of BFS is O(b^(d+1)) e.g b+ b^2 +b^3 +...+b^d+ (b^d+a -b) because we are traversing level by level.
Expanding each node.
Space complexity will be same as time complexity
Yes we can get optimal solution via BFS.

Advantages:

BFS is better than IDS for finding shortest path.
BFS used for testing a graph to check is it Bipartitie.

Disadvantages:

BFS uses more memory.

BFS is inflexible as compare to IDS

IF YOU HAVE ANY QUERY PLEASE COMMENT DOWN BELOW
PLEASE GIVE A THUMBS UP


Related Solutions

In two-player games, what do we mean when we have a Nash equilibrium? What is a...
In two-player games, what do we mean when we have a Nash equilibrium? What is a dominant strategy? Using a payoff matrix, illustrate a two-player, two strategy game where the Nash equilibrium is not the social optimum.
What do we mean when we say that a histogram is skewed to the left? To...
What do we mean when we say that a histogram is skewed to the left? To the right? What is a bimodal histogram? Discuss the following statement: “A bimodal histogram usually results if we draw a sample from two populations at once.” Suppose you took a sample of weights of college football players and with this sample you included the weights of cheerleaders. Do you think a histogram made from the combined weights would be bimodal? Explain. write in your...
What do we mean when we say we have a “distribution of mean differences”? Theoretically, how...
What do we mean when we say we have a “distribution of mean differences”? Theoretically, how would you construct a “distribution of mean differences”?
When we say the media is a business, what do we mean by that? How does...
When we say the media is a business, what do we mean by that? How does that affect the way the media cover politics?
1.What do we mean when we say the triplet code is universal? 2.If a mutation causes...
1.What do we mean when we say the triplet code is universal? 2.If a mutation causes a permanent change in the DNA sequence, how is it that most mutations are “silent” mutations 3.Suppose a young woman is exposed to a chemical mutagen and some permanent changes arise in the DNA (mutations) of some of her germ line cells. Will those mutations be passed down to her children? Why or why not 4. humans, attached earlobes (A) are dominant to free...
Question 1: (a) What do we mean when we say money is neutral? (b) Bill Clinton...
Question 1: (a) What do we mean when we say money is neutral? (b) Bill Clinton believed in working with the Fed to use Monetary Policy to help the economy grow while he was President in the early 1990s. That is, he believed that money had real effects (on output and the interest rate). Show that Bill Clinton was right, and money is non-neutral in the short run. (Guide: Draw the IS-LM graph only). (c) Ronald Reagan believed that Monetary...
Please solve this advanced physics question Q. What does it mean when we say that the...
Please solve this advanced physics question Q. What does it mean when we say that the topological structure of phase space of a two-dimensional simple harmonic oscillator corresponds to a "torus"?
• What does it mean when we say that there is a relationship between two variables?...
• What does it mean when we say that there is a relationship between two variables? • What kinds of relationships can there be between two variables? • Give an example of two variables that are related. For example, my daughter has an hourly salary. Her paycheck amount is related to how many hours she worked. • Give an example of two variables that are NOT related. • Why might the regression equation you have found NOT be a good...
In a two-player, one-shot simultaneous-move game each player can choose strategy A or strategy B. If...
In a two-player, one-shot simultaneous-move game each player can choose strategy A or strategy B. If both players choose strategy A, each earns a payoff of $17. If both players choose strategy B, each earns a payoff of $27. If player 1 chooses strategy A and player 2 chooses strategy B, then player 1 earns $62 and player 2 earns $11. If player 1 chooses strategy B and player 2 chooses strategy A, then player 1 earns $11 and player...
1. Use a payoff matrix to illustrate a two player, two strategy playoff game where the...
1. Use a payoff matrix to illustrate a two player, two strategy playoff game where the nash equilibrium is not the social optimum?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT