Question

5. If we apply binary dilation to the same large object twice using the same small structuring element, the effect, if any, o
7. When computing the shortest path from A to Z in Figure 2 using Dijkstras algorithm as described in lectures, which of the
8. Following the example in lectures, we wish to use dynamic programming to match two strings. The LEFT string is EALEPANT an
5. If we apply binary dilation to the same large object twice using the same small structuring element, the effect, if any, of the second dilation on the object is that the object: (a) is unchanged (b) is completely removed (c) becomes larger (d) becomes smaller (e) does not change 6. Which of the following is/are true? (a) Dijkstra's algorithm can be used to find shortest paths in a network (b) Dijkstra's algorithm is a method to find straight lines in images (c) Dijkstra's algorithm is a fast algorithm for determining chain codes (d) All of the above (e) None of the above
7. When computing the shortest path from A to Z in Figure 2 using Dijkstra's algorithm as described in lectures, which of the following statements is/are true? Note: As in the lectures, visit nodes in alphabetic order when there is a choice of shortest path F 1 2 2 2 2 G 3 10 2 E Figure 2 The shortest path from A to Z has distance 11 (i) Node C becomes a trial point before D. (ii) (iii) The shortest path obtained by the algorithm passes through node I (a) both (i) and (i) (b) both (i) and (ii) (c) only (i) (d) only (ii) (e) neither (i) nor (ii) N eee
8. Following the example in lectures, we wish to use dynamic programming to match two strings. The LEFT string is EALEPANT and the TOP string is ELEPHANT. The following string operations have the conventional costs: Delete LEFT 1 Delete TOP 1 Match 0 What is the cost of matching two substrings ELEP to EALE illustrated by the shaded square d(3,4) in the table below? (a) 2 (b) 3 (c) 4 (d) 5 (e) None of the above E P H T E A L E P A T Z 0.
0 0
Add a comment Improve this question Transcribed image text
Answer #1

(6).DijKstras algorithr algovithm is an paths for shontest finding the raph/ be toeen nodes in a hetuoork. only (A) There fos the if,the werght of lo totol t does ot path, then Shortest vertex (i) therefore Passes the not tre. also option (c) sjol p

Add a comment
Know the answer?
Add Answer to:
5. If we apply binary dilation to the same large object twice using the same small...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 9. Referring again to the problem of dynamic programming problem considered in Question 8, what is...

    9. Referring again to the problem of dynamic programming problem considered in Question 8, what is the cost of matching the two substrings ELEPHAN and EALEP? (a) 3 (b) 4 (c) 5 (d) 6 (e) None of the above 10. Which of the following statements is/are true? (i) Dijkstra's algorithm and the Fast Marching algorithm are identical (ii) Dijkstra's algorithm finds the shortest Euclidean path in space (ii) Dijkstra's algorithm finds the shortest path in a network (a) (i) only...

  • 1. Consider the Viterbi algorithm. Which of the following statements is/are true. if any? (i) It...

    1. Consider the Viterbi algorithm. Which of the following statements is/are true. if any? (i) It is an algorithmused for optimal thresholding (ii) It is an algorithm to find shortest paths in on a network (ii)It is an algorithm to detect lines in images (a) (i) (b) (ii) (c) (ii) (d) All of the above (e) None of the above 4. If we apply a binary opening to the same object twice using the same structuring element, the effect. if...

  • Hi I'm stuck with this homework question and hope you can help me. 9. In the...

    Hi I'm stuck with this homework question and hope you can help me. 9. In the graph below (A) Determine the shortest path from a to ALL other nodes using Dijkstra's Shortest Path Algorithm. The answers must be in the following form: For each node, give the shortest path from a to that node (that is, list the nodes in the path) Also for each path give the length of the path. (B) ON THIS SHEET OF PAPER SHOWING A...

  • a. (15 marks) i (7 marks) Consider the weighted directed graph below. Carry out the steps...

    a. (15 marks) i (7 marks) Consider the weighted directed graph below. Carry out the steps of Dijkstra's shortest path algorithm as covered in lectures, starting at vertex S. Consequently give the shortest path from S to vertex T and its length 6 A 2 3 4 S T F ii (2 marks) For a graph G = (V, E), what is the worst-case time complexity of the version of Dijkstra's shortest path algorithm examined in lectures? (Your answer should...

  • 5. Apply Dijkstra's algorithm as discussed in class to solve the single-source shortest-paths problem for the...

    5. Apply Dijkstra's algorithm as discussed in class to solve the single-source shortest-paths problem for the following graph. Consider node A to be the source. (20 points) a. Show the completed table. b. State the shortest path from A to E and state its length. C. State the shortest path from A to F and state its length. d. State the shortest path from A to G and state its length. A 12 9 B 17 8 7 10 8...

  • Apply Dijkstra's algorithm as discussed in class to solve the single-source shortest-paths problem for the following...

    Apply Dijkstra's algorithm as discussed in class to solve the single-source shortest-paths problem for the following graph. Consider node A to be the source. (20 points) a. Show the completed table. b. State the shortest path from A to E and state its length. State the shortest path from A to F A 9 and state its length. d. State the shortest path from A to G 17 and state its length. 7 C. 12 B 8 10 D 8...

  • Question 5 (5 points) Apply Dijkstra's Algorithm to the following graph, computing the shortest path for...

    Question 5 (5 points) Apply Dijkstra's Algorithm to the following graph, computing the shortest path for al vertices from vertex A. Present the results after each vertex has been processed 3 20 B 47 20 You may wish to present the results in the format of the following table: Stage Current Vertex Labels and Distances A 0 A 0 D 231 A 213 E 4 F21 A 90 Each row states (a) the current stage, (b) the vertex just added...

  • Shortest paths Consider a directed graph with vertices fa, b, c, d, e, f and adjacency...

    Shortest paths Consider a directed graph with vertices fa, b, c, d, e, f and adjacency list representation belovw (with edge weights in parentheses): a: b(4), f(2) e: a(6), b(3), d(7) d: a(6), e(2) e: d(5) f: d(2), e(3) (i) Find three shortest paths from c to e. (ii) Which of these paths could have been found by Dijkstra's shortest path algorithm? (Give a convincing explanation by referring to the main steps of the algorithm.)

  • Q1: Here we consider finding the length of the shortest path between all pairs of nodes...

    Q1: Here we consider finding the length of the shortest path between all pairs of nodes in an undirected, weighted graph G. For simplicity, assume that the n nodes are labeled 1; 2; : : : ; n, that the weight wij of any edge e = (i; j) is positive and that there is an edge between every pair of nodes. In this question, the goal is to solve this via dynamic programming. Note that the algorithm you will...

  • Using java can someone help me create a program using the following instructions. Input file: 10...

    Using java can someone help me create a program using the following instructions. Input file: 10 A J 18 A H 79 A I 81 J G 24 J F 76 G F 2 G H 50 F E 4 E D 2 D H 20 H C 50 I D 6 I C 97 I J 27 C B 22 Solution File: 142 A J G F E D H C B 4. (70 points) Implement Dijkstra's algorithm for...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT