Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

imagine that given binary tree data structure for each left/right branch stores some sort of cost (distance) for you to move along that branch to

image text in transcribed

imagine that given binary tree data structure for each left/right branch stores some sort of cost (distance) for you to move along that branch to next node. See image above.

The questions are:

  1. Cost (distance) of longest path in tree (a)?
  2. Cost (distance) of longest path in tree (b)?
  3. Cost (distance) of shortest path in tree (a)?
  4. Cost (distance) of shortest path in tree (b)?

What we see is a problem for informed search algorithm (we have cost (distance)). Now which of the problematic spaces we are dealing here with?

  1. Which one (a or b) is Telephone Pole space?
  2. Which one (a or b) is space with local minimum(-s) (false optimal / sub optimal paths)?

Please dont give any definitions! Just your thoughts.

a) 5 5 5 5 5 5 5 5 5 5 1 5 5 b) 2 1 N 10 1 10 10 2 1 2. 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic6 Database Programming

Authors: John W. Fronckowiak, David J. Helda

1st Edition

0764532545, 978-0764532542

More Books

Students also viewed these Databases questions